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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.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/WebGLRenderingContextBase.h
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
index 33170f39e7dc03d3ef715bc3a83654bea36d53c7..df0fcb3426e68c397ec62ffd9b5db241a3a8eeb6 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h
@@ -601,7 +601,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
void getHTMLOrOffscreenCanvas(HTMLCanvasElementOrOffscreenCanvas&) const;
- void commit(ExceptionState&);
+ void commit(ScriptState*, ExceptionState&);
protected:
friend class EXTDisjointTimerQuery;
@@ -1458,7 +1458,7 @@ class MODULES_EXPORT WebGLRenderingContextBase : public CanvasRenderingContext,
static WebGLRenderingContextBase* oldestContext();
static WebGLRenderingContextBase* oldestEvictedContext();
- ImageBitmap* transferToImageBitmapBase();
+ ImageBitmap* transferToImageBitmapBase(ScriptState*);
// Helper functions for tex(Sub)Image2D && texSubImage3D
void texImageHelperDOMArrayBufferView(TexImageFunctionID,

Powered by Google App Engine
This is Rietveld 408576698