Chromium Code Reviews| Index: third_party/WebKit/Source/modules/webgl/WebGLObject.h |
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLObject.h b/third_party/WebKit/Source/modules/webgl/WebGLObject.h |
| index e10a80a27681a09654d840454645ba479a7fdf90..4819966ac7d992668089171f516720918752f68f 100644 |
| --- a/third_party/WebKit/Source/modules/webgl/WebGLObject.h |
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLObject.h |
| @@ -68,10 +68,10 @@ public: |
| // deleteObject may not always delete the OpenGL resource. For programs and |
| // shaders, deletion is delayed until they are no longer attached. |
| // FIXME: revisit this when resource sharing between contexts are implemented. |
| - void deleteObject(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*); |
| + void deleteObject(gpu::gles2::GLES2Interface*); |
| void onAttached() { ++m_attachmentCount; } |
| - void onDetached(WebGraphicsContext3D*, gpu::gles2::GLES2Interface*); |
| + void onDetached(gpu::gles2::GLES2Interface*); |
| // This indicates whether the client side issue a delete call already, not |
| // whether the OpenGL resource is deleted. |
| @@ -89,14 +89,14 @@ protected: |
| // deleteObjectImpl should be only called once to delete the OpenGL resource. |
| // After calling deleteObjectImpl, hasObject() should return false. |
| - virtual void deleteObjectImpl(blink::WebGraphicsContext3D*, gpu::gles2::GLES2Interface*) = 0; |
| + virtual void deleteObjectImpl(gpu::gles2::GLES2Interface*) = 0; |
| virtual bool hasGroupOrContext() const = 0; |
| void detach(); |
| void detachAndDeleteObject(); |
| - virtual WebGraphicsContext3D* getAWebGraphicsContext3D() const = 0; |
| + virtual WebGLRenderingContextBase* getAWebGLRenderingContextBase() const = 0; |
|
danakj
2016/03/25 21:59:26
This could be getAGLES2Interface, but we'd talked
|
| private: |
| unsigned m_attachmentCount; |