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

Unified Diff: ui/gl/gl_context_nsview.h

Issue 56833002: Add a basic NativeViewportMac for Mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address ben's feedback Created 7 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
« no previous file with comments | « ui/gl/gl_context_mac.mm ('k') | ui/gl/gl_context_nsview.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_context_nsview.h
diff --git a/ui/gl/gl_context_nsview.h b/ui/gl/gl_context_nsview.h
index 5f90738902ffaab2011f7f74b3f5f5459d13f7ea..5492dc18c2e9e0580a0a624556b4bd8e7b6f049a 100644
--- a/ui/gl/gl_context_nsview.h
+++ b/ui/gl/gl_context_nsview.h
@@ -20,7 +20,6 @@ class GLSurface;
class GLContextNSView : public GLContextReal {
public:
explicit GLContextNSView(GLShareGroup* group);
- virtual ~GLContextNSView();
// GLContext:
virtual bool Initialize(GLSurface* surface,
@@ -36,6 +35,8 @@ class GLContextNSView : public GLContextReal {
void FlushBuffer();
private:
+ virtual ~GLContextNSView();
+
base::scoped_nsobject<NSOpenGLContext> context_;
GpuPreference gpu_preference_;
« no previous file with comments | « ui/gl/gl_context_mac.mm ('k') | ui/gl/gl_context_nsview.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698