Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLExtension.h

Issue 2676663006: Remove SetWrapperReferenceTo and SetWrapperReferenceFrom (Closed)
Patch Set: Rebase on master Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/webgl/WebGLExtension.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLExtension.h b/third_party/WebKit/Source/modules/webgl/WebGLExtension.h
index 5d36c6283e0fe28cfd4c0fc25ad9e9bed5da4f3d..a2f418cb27d3a5cf02f71124a782d40ff63f73d8 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLExtension.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLExtension.h
@@ -65,13 +65,6 @@ class WebGLExtension : public GarbageCollected<WebGLExtension>,
DECLARE_VIRTUAL_TRACE();
- // For use by V8 bindings only.
- HTMLCanvasElement* canvas() const {
- if (m_context)
- return m_context->canvas();
- return nullptr;
- }
-
protected:
explicit WebGLExtension(WebGLRenderingContextBase*);

Powered by Google App Engine
This is Rietveld 408576698