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

Unified Diff: ui/gfx/gl/gl_surface_nsview.h

Issue 8687016: GLContextNSView should not assume concrete type GLSurface is GLSurfaceNSView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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
Index: ui/gfx/gl/gl_surface_nsview.h
diff --git a/ui/gfx/gl/gl_surface_nsview.h b/ui/gfx/gl/gl_surface_nsview.h
index 58e1344a349b791fca1522589fca0cd5c4f786a0..a53eaf17c90dd8ee411177a0d70aff0be0707e3d 100644
--- a/ui/gfx/gl/gl_surface_nsview.h
+++ b/ui/gfx/gl/gl_surface_nsview.h
@@ -29,7 +29,7 @@ class GLSurfaceNSView : public GLSurface {
virtual void* GetHandle() OVERRIDE;
// Allow the surface to call back to context when in need of |FlushBuffer|.
- void SetGLContext(GLContextNSView* context);
+ virtual bool OnMakeCurrent(GLContext* context) OVERRIDE;
private:
// Weak. An |NSView*|.

Powered by Google App Engine
This is Rietveld 408576698