Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
index b830fb915a69ec1984233b9db9baeb7ad6b917d1..9130d768762f280edebd4e550949eaffbcd60100 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.idl |
@@ -118,7 +118,7 @@ enum ImageSmoothingQuality {"low", "medium", "high"}; |
[RuntimeEnabled=ExperimentalCanvasFeatures] void clearHitRegions(); |
// pixel manipulation |
- ImageData createImageData(ImageData imagedata); |
+ [RaisesException] ImageData createImageData(ImageData imagedata); |
[RaisesException] ImageData createImageData(float sw, float sh); |
[RaisesException] ImageData getImageData(float sx, float sy, float sw, float sh); |
void putImageData(ImageData imagedata, float dx, float dy); |