summaryrefslogtreecommitdiffstats
path: root/ui/gfx/gl/gl_context_egl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gfx/gl/gl_context_egl.h')
-rw-r--r--ui/gfx/gl/gl_context_egl.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/gfx/gl/gl_context_egl.h b/ui/gfx/gl/gl_context_egl.h
index 2e8a446..f1a8193 100644
--- a/ui/gfx/gl/gl_context_egl.h
+++ b/ui/gfx/gl/gl_context_egl.h
@@ -19,12 +19,11 @@ class GLSurface;
// Encapsulates an EGL OpenGL ES context.
class GLContextEGL : public GLContext {
public:
- GLContextEGL();
+ explicit GLContextEGL(GLShareGroup* share_group);
virtual ~GLContextEGL();
// Implement GLContext.
- virtual bool Initialize(GLContext* shared_context,
- GLSurface* compatible_surface);
+ virtual bool Initialize(GLSurface* compatible_surface);
virtual void Destroy();
virtual bool MakeCurrent(GLSurface* surface);
virtual void ReleaseCurrent(GLSurface* surface);