summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webgles2context_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/renderer/webgles2context_impl.h')
-rw-r--r--chrome/renderer/webgles2context_impl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/renderer/webgles2context_impl.h b/chrome/renderer/webgles2context_impl.h
index 44283df3..0930124 100644
--- a/chrome/renderer/webgles2context_impl.h
+++ b/chrome/renderer/webgles2context_impl.h
@@ -15,11 +15,15 @@ class WebGLES2ContextImpl : public WebKit::WebGLES2Context {
WebGLES2ContextImpl();
virtual ~WebGLES2ContextImpl();
+ // TODO(vangelis): Remove once method is removed from WebGLES2Context.
virtual bool initialize(WebKit::WebView*);
+ virtual bool initialize(WebKit::WebView*, WebGLES2Context* parent);
virtual bool makeCurrent();
virtual bool destroy();
virtual bool swapBuffers();
+ ggl::Context* context() { return context_; }
+
private:
// The GGL context we use for OpenGL rendering.
ggl::Context* context_;