Chromium Code Reviews| 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++
|
| }; |