Index: ui/gl/gl_context_nsview.mm |
diff --git a/ui/gl/gl_context_nsview.mm b/ui/gl/gl_context_nsview.mm |
index 898bf014d8d55a29ebc3bd2234392c3e884daaf9..464ca3e62f5b7c70f2b1eef9d9ad3853075670f5 100644 |
--- a/ui/gl/gl_context_nsview.mm |
+++ b/ui/gl/gl_context_nsview.mm |
@@ -64,7 +64,7 @@ bool GLContextNSView::MakeCurrent(GLSurface* surface) { |
[context_ setView:view]; |
[context_ makeCurrentContext]; |
- SetCurrent(this, surface); |
+ SetCurrent(surface); |
if (!surface->OnMakeCurrent(this)) { |
LOG(ERROR) << "Unable to make gl context current."; |