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

Unified Diff: third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.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/core/offscreencanvas/OffscreenCanvas.idl
diff --git a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
index 88f5c5bf562c3bf728a843938ef12ea1709d4ef6..2ad76960b531be6f9117e78f08b3fdbaaece3305 100644
--- a/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
+++ b/third_party/WebKit/Source/core/offscreencanvas/OffscreenCanvas.idl
@@ -11,5 +11,5 @@
[RaisesException=Setter, EnforceRange] attribute unsigned long width;
[RaisesException=Setter, EnforceRange] attribute unsigned long height;
- [RaisesException] ImageBitmap transferToImageBitmap();
+ [RaisesException, MeasureAs=OffscreenCanvasTransferToImageBitmap] ImageBitmap transferToImageBitmap();
Justin Novosad 2016/10/13 00:33:46 You should put the counter instrumentation in C++
};

Powered by Google App Engine
This is Rietveld 408576698