Chromium Code Reviews| 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 5a89ed8514fafa6430efc608106416f38a5e25b4..aae6f0f940603d20b4e376a6ad369acc18b9804e 100644 |
| --- a/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
| +++ b/third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp |
| @@ -244,7 +244,8 @@ TEST_F(CanvasRenderingContext2DAPITest, CreateImageData) { |
| EXPECT_EQ(255, imageData->data()->data()[32]); |
| - // createImageData(imageData) should create a new ImageData of the same size as 'imageData' |
| + // createImageData(imageData) should create a new ImageData of the same size |
| + // as 'imageData' |
|
Justin Novosad
2016/10/03 18:13:11
oops
|
| // but filled with transparent black |
| ImageData* sameSizeImageData = |
| @@ -254,7 +255,8 @@ TEST_F(CanvasRenderingContext2DAPITest, CreateImageData) { |
| EXPECT_EQ(50, sameSizeImageData->height()); |
| EXPECT_EQ(0, sameSizeImageData->data()->data()[32]); |
| - // createImageData(width, height) takes the absolute magnitude of the size arguments |
| + // createImageData(width, height) takes the absolute magnitude of the size |
| + // arguments |
| ImageData* imgdata1 = context2d()->createImageData(10, 20, exceptionState); |
| EXPECT_FALSE(exceptionState.hadException()); |