Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(90)

Unified Diff: third_party/WebKit/Source/core/html/canvas/CanvasAsyncBlobCreatorTest.cpp

Issue 2555213002: Implement color management for ImageData (Closed)
Patch Set: Addressing issues Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698