Index: ui/gl/gl_context_stub.cc |
diff --git a/ui/gl/gl_context_stub.cc b/ui/gl/gl_context_stub.cc |
index 2b72c8f8c677d6095bb4b0b5db92434f77aa9dc2..9c515bafd92d2ad02be1f027d43625afc8ebf90d 100644 |
--- a/ui/gl/gl_context_stub.cc |
+++ b/ui/gl/gl_context_stub.cc |
@@ -22,6 +22,7 @@ bool GLContextStub::MakeCurrent(GLSurface* surface) { |
} |
void GLContextStub::ReleaseCurrent(GLSurface* surface) { |
+ SetCurrent(NULL, NULL); |
} |
bool GLContextStub::IsCurrent(GLSurface* surface) { |