Index: ui/gfx/gl/gl_context_stub.cc |
=================================================================== |
--- ui/gfx/gl/gl_context_stub.cc (revision 85357) |
+++ ui/gfx/gl/gl_context_stub.cc (working copy) |
@@ -12,26 +12,17 @@ |
GLContextStub::~GLContextStub() { |
} |
-bool GLContextStub::MakeCurrent() { |
+bool GLContextStub::MakeCurrent(GLSurface* surface) { |
return true; |
} |
-bool GLContextStub::IsCurrent() { |
- return true; |
+void GLContextStub::ReleaseCurrent(GLSurface* surface) { |
} |
-bool GLContextStub::IsOffscreen() { |
- return false; |
-} |
- |
-bool GLContextStub::SwapBuffers() { |
+bool GLContextStub::IsCurrent(GLSurface* surface) { |
return true; |
} |
-gfx::Size GLContextStub::GetSize() { |
- return size_; |
-} |
- |
void* GLContextStub::GetHandle() { |
return NULL; |
} |