Index: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h |
index ee9892d26af29becae52ccb8dce97bcb6a675e4f..718e7153c192eb1329d496644479cfa2c58f780c 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.h |
@@ -29,6 +29,12 @@ |
#include "modules/webgl/WebGLContextObject.h" |
#include "modules/webgl/WebGLSharedObject.h" |
+namespace gpu { |
+namespace gles2 { |
+class GLES2Interface; |
+} |
+} |
+ |
namespace blink { |
class WebGLRenderbuffer; |
@@ -45,8 +51,8 @@ public: |
virtual bool isSharedObject(WebGLSharedObject*) const = 0; |
virtual bool valid() const = 0; |
virtual void onDetached(WebGraphicsContext3D*) = 0; |
- virtual void attach(WebGraphicsContext3D*, GLenum target, GLenum attachment) = 0; |
- virtual void unattach(WebGraphicsContext3D*, GLenum target, GLenum attachment) = 0; |
+ virtual void attach(gpu::gles2::GLES2Interface*, GLenum target, GLenum attachment) = 0; |
+ virtual void unattach(gpu::gles2::GLES2Interface*, GLenum target, GLenum attachment) = 0; |
DEFINE_INLINE_VIRTUAL_TRACE() { } |