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

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

Issue 1761003003: Use a union typdef for the return type of canvas.getContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: final touches Created 4 years, 9 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/WebGLRenderingContext.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
index 1cc9191c416ce99601b8c9cc020535e2ceacb815..0f823b257ffcedf33a7dc1a253e9006ee34a362b 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
@@ -53,6 +53,7 @@ public:
unsigned version() const override { return 1; }
String contextName() const override { return "WebGLRenderingContext"; }
void registerContextExtensions() override;
+ void setCanvasGetContextResult(RenderingContext&) final;
EAGERLY_FINALIZE();
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698