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

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

Issue 2411703004: Add usage counter to OffscreenCanvas API calls (Closed)
Patch Set: fix compile error Created 4 years, 2 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/WebGL2RenderingContext.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h
index 437737adf850b68e31276c11a21fdb57752ff361..eb3bdc77fb687f2373c8b2b1e10f8d7e20a2f3fe 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContext.h
@@ -39,7 +39,7 @@ class WebGL2RenderingContext : public WebGL2RenderingContextBase {
CanvasRenderingContext::ContextType getContextType() const override {
return CanvasRenderingContext::ContextWebgl2;
}
- ImageBitmap* transferToImageBitmap() final;
+ ImageBitmap* transferToImageBitmap(ScriptState*) final;
String contextName() const override { return "WebGL2RenderingContext"; }
void registerContextExtensions() override;
void setCanvasGetContextResult(RenderingContext&) final;

Powered by Google App Engine
This is Rietveld 408576698