diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h b/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h index 0953f26e985..7b8ab3b5566 100644 --- a/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h +++ b/chromium/third_party/blink/renderer/modules/webgl/webgl2_compute_rendering_context_base.h @@ -69,7 +69,7 @@ class WebGL2ComputeRenderingContextBase : public WebGL2RenderingContextBase { GLenum target, GLuint index) override; - void Trace(blink::Visitor*) override; + void Trace(Visitor*) override; protected: WebGL2ComputeRenderingContextBase( @@ -126,16 +126,6 @@ class WebGL2ComputeRenderingContextBase : public WebGL2RenderingContextBase { HeapVector<Member<WebGLBuffer>> bound_indexed_shader_storage_buffers_; }; -DEFINE_TYPE_CASTS(WebGL2ComputeRenderingContextBase, - CanvasRenderingContext, - context, - context->Is3d() && - WebGLRenderingContextBase::GetWebGLVersion(context) == - Platform::kWebGL2ComputeContextType, - context.Is3d() && - WebGLRenderingContextBase::GetWebGLVersion(&context) == - Platform::kWebGL2ComputeContextType); - } // namespace blink #endif |