| 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 a885201c698454c6f628778f76641a877a17ef4f..64a42366cc3097ff905200145c67cc534cd60ce5 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLObject.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLObject.h
|
| @@ -97,10 +97,6 @@ class WebGLObject : public GarbageCollectedFinalized<WebGLObject>,
|
| DECLARE_VIRTUAL_TRACE_WRAPPERS();
|
|
|
| protected:
|
| - // To allow WebGL[2]RenderingContextBase to call visitChildDOMWrappers.
|
| - friend class WebGLRenderingContextBase;
|
| - friend class WebGL2RenderingContextBase;
|
| -
|
| explicit WebGLObject(WebGLRenderingContextBase*);
|
|
|
| // deleteObjectImpl should be only called once to delete the OpenGL resource.
|
| @@ -121,9 +117,6 @@ class WebGLObject : public GarbageCollectedFinalized<WebGLObject>,
|
|
|
| virtual gpu::gles2::GLES2Interface* getAGLInterface() const = 0;
|
|
|
| - virtual void visitChildDOMWrappers(v8::Isolate*,
|
| - const v8::Persistent<v8::Object>&) {}
|
| -
|
| // Used by leaf subclasses to run the destruction sequence -- what would
|
| // be in the destructor of the base class, if it could be. Must be called
|
| // no more than once.
|
|
|