Index: ui/gfx/gl/gl_surface_nsview.mm |
diff --git a/ui/gfx/gl/gl_surface_nsview.mm b/ui/gfx/gl/gl_surface_nsview.mm |
index 0c7f3aab5fca5017f45b45187fa859bbd5307bcd..e03cb3bbf41f775bab286959841947b0aabc20ac 100644 |
--- a/ui/gfx/gl/gl_surface_nsview.mm |
+++ b/ui/gfx/gl/gl_surface_nsview.mm |
@@ -39,8 +39,9 @@ void* GLSurfaceNSView::GetHandle() { |
return view_; |
} |
-void GLSurfaceNSView::SetGLContext(GLContextNSView* context) { |
- context_ = context; |
+bool GLSurfaceNSView::OnMakeCurrent(GLContext* context) { |
+ context_ = static_cast<GLContextNSView *>(context); |
Ken Russell (switch to Gerrit)
2011/11/30 00:39:01
Given the other cleanup in this CL, the downcast i
|
+ return true; |
} |
} // namespace gfx |