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

Unified Diff: third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl

Issue 2411703004: Add usage counter to OffscreenCanvas API calls (Closed)
Patch Set: 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.idl
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
index 2e4f8866569e74542622a727c559f496a7790c77..142de7f365dfe434b6b402dc2dabe0337a9c2ce7 100644
--- a/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
+++ b/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.idl
@@ -706,5 +706,5 @@ typedef unrestricted float GLclampf;
void viewport(GLint x, GLint y, GLsizei width, GLsizei height);
- [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void commit();
+ [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException, MeasureAs=OffscreenCanvasCommit] void commit();
Justin Novosad 2016/10/13 00:33:46 I think you should use separate counters for 2D an
};

Powered by Google App Engine
This is Rietveld 408576698