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

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

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.cpp
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp
index 766467c7506bea9a42cdb83db35ae9ec06f1dbf7..b1c44567f6c1c45701bac5d18e940cc442488a07 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContext.cpp
@@ -163,8 +163,9 @@ void WebGLRenderingContext::setOffscreenCanvasGetContextResult(
result.setWebGLRenderingContext(this);
}
-ImageBitmap* WebGLRenderingContext::transferToImageBitmap() {
- return transferToImageBitmapBase();
+ImageBitmap* WebGLRenderingContext::transferToImageBitmap(
+ ScriptState* scriptState) {
+ return transferToImageBitmapBase(scriptState);
}
void WebGLRenderingContext::registerContextExtensions() {

Powered by Google App Engine
This is Rietveld 408576698