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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.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/WebGLRenderingContext.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
index ad710b57affabaed1903610e9df3f46deabee99e..c945a9faa7fc99650dda2a1273809b8ad7906c99 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.h
@@ -63,7 +63,7 @@ class WebGLRenderingContext final : public WebGLRenderingContextBase {
CanvasRenderingContext::ContextType getContextType() const override {
return CanvasRenderingContext::ContextWebgl;
}
- ImageBitmap* transferToImageBitmap() final;
+ ImageBitmap* transferToImageBitmap(ScriptState*) final;
String contextName() const override { return "WebGLRenderingContext"; }
void registerContextExtensions() override;
void setCanvasGetContextResult(RenderingContext&) final;

Powered by Google App Engine
This is Rietveld 408576698