Index: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp |
diff --git a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp |
index f803460c92bb937e1f469274aa77c8bb5ec6460d..8d5e54b18017cc2f3da9d819d8231592256a9c1a 100644 |
--- a/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp |
+++ b/third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp |
@@ -200,7 +200,7 @@ void CanvasAsyncBlobCreatorTest:: |
void CanvasAsyncBlobCreatorTest::prepareMockCanvasAsyncBlobCreatorFailPng() { |
IntSize testSize(0, 0); |
- ImageData* imageData = ImageData::create(testSize); |
+ ImageData* imageData = ImageData::createForTest(testSize); |
// We reuse the class MockCanvasAsyncBlobCreatorWithoutCompletePng because |
// this test case is expected to fail at initialization step before |
@@ -229,7 +229,7 @@ void CanvasAsyncBlobCreatorTest:: |
void CanvasAsyncBlobCreatorTest::prepareMockCanvasAsyncBlobCreatorFailJpeg() { |
IntSize testSize(0, 0); |
- ImageData* imageData = ImageData::create(testSize); |
+ ImageData* imageData = ImageData::createForTest(testSize); |
// We reuse the class MockCanvasAsyncBlobCreatorWithoutCompleteJpeg because |
// this test case is expected to fail at initialization step before |