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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp

Issue 2556723003: Merge color options into ColorBehavior (Closed)
Patch Set: Feedback 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/platform/graphics/ImageDecodingStoreTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp
index 9cda1a3aa817f6f8d3763271c83f2f1b1677ba17..5682367514db1b8ec12669bb9a63b787f584448c 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp
@@ -37,9 +37,8 @@ class ImageDecodingStoreTest : public ::testing::Test,
public:
void SetUp() override {
ImageDecodingStore::instance().setCacheLimitInBytes(1024 * 1024);
- m_generator =
- ImageFrameGenerator::create(SkISize::Make(100, 100), true,
- ImageDecoder::ColorSpaceIgnored, nullptr);
+ m_generator = ImageFrameGenerator::create(SkISize::Make(100, 100), true,
+ ColorBehavior::ignore());
m_decodersDestroyed = 0;
}

Powered by Google App Engine
This is Rietveld 408576698