Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(596)

Unified Diff: ui/gl/gl_share_group.cc

Issue 1061733002: Remove windows/mac/ios specific code from //ui (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix default try set Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gl/gl_share_group.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_share_group.cc
diff --git a/ui/gl/gl_share_group.cc b/ui/gl/gl_share_group.cc
index 8e8958b49a42179c15d2b96811e6006a96554dac..0ad4a7176b5bc3e719d374c8fea44b5417c4c22d 100644
--- a/ui/gl/gl_share_group.cc
+++ b/ui/gl/gl_share_group.cc
@@ -9,12 +9,7 @@
namespace gfx {
-GLShareGroup::GLShareGroup()
- : shared_context_(NULL)
-#if defined(OS_MACOSX)
- , renderer_id_(-1)
-#endif
- {
+GLShareGroup::GLShareGroup() : shared_context_(NULL) {
}
void GLShareGroup::AddContext(GLContext* context) {
@@ -55,16 +50,6 @@ GLContext* GLShareGroup::GetSharedContext() {
return shared_context_;
}
-#if defined(OS_MACOSX)
-void GLShareGroup::SetRendererID(int renderer_id) {
- renderer_id_ = renderer_id;
-}
-
-int GLShareGroup::GetRendererID() {
- return renderer_id_;
-}
-#endif
-
GLShareGroup::~GLShareGroup() {
}
« no previous file with comments | « ui/gl/gl_share_group.h ('k') | ui/gl/gl_surface_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698