summaryrefslogtreecommitdiffstats
path: root/chromium/ui/gl/gl_context_cgl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/gl/gl_context_cgl.h')
-rw-r--r--chromium/ui/gl/gl_context_cgl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/chromium/ui/gl/gl_context_cgl.h b/chromium/ui/gl/gl_context_cgl.h
index c0aa656a306..966cc291d04 100644
--- a/chromium/ui/gl/gl_context_cgl.h
+++ b/chromium/ui/gl/gl_context_cgl.h
@@ -23,7 +23,7 @@ class GLSurface;
// Encapsulates a CGL OpenGL context.
class GL_EXPORT GLContextCGL : public GLContextReal {
public:
- explicit GLContextCGL(GLShareGroup* share_group);
+ explicit GLContextCGL(GLShareGroup* share_group, int core_profile_number = 0);
// Implement GLContext.
bool Initialize(GLSurface* compatible_surface,
@@ -64,6 +64,8 @@ class GL_EXPORT GLContextCGL : public GLContextReal {
// Debugging for https://crbug.com/863817
bool has_switched_gpus_ = false;
+ int core_profile_number_ = 0;
+
DISALLOW_COPY_AND_ASSIGN(GLContextCGL);
};