Index: third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
diff --git a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
index 48eeb0c2ff23f861597c0939dc803a738f35cb9c..d6259683a7a88125fc2d201df0018543179c8383 100644 |
--- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
+++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
@@ -217,7 +217,8 @@ TEST_F(CanvasRenderingContext2DAPITest, CreateImageData) |
// createImageData(imageData) should create a new ImageData of the same size as 'imageData' |
// but filled with transparent black |
- ImageData* sameSizeImageData = context2d()->createImageData(imageData); |
+ ImageData* sameSizeImageData = context2d()->createImageData(imageData, exceptionState); |
+ EXPECT_FALSE(exceptionState.hadException()); |
EXPECT_EQ(100, sameSizeImageData->width()); |
EXPECT_EQ(50, sameSizeImageData->height()); |
EXPECT_EQ(0, sameSizeImageData->data()->data()[32]); |