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

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

Issue 2523943002: Explicitly specify target color space to ImageDecoder at creation (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 f78712e871061fec9e2ae87304cb14c84a8e8eca..9cda1a3aa817f6f8d3763271c83f2f1b1677ba17 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageDecodingStoreTest.cpp
@@ -38,7 +38,8 @@ class ImageDecodingStoreTest : public ::testing::Test,
void SetUp() override {
ImageDecodingStore::instance().setCacheLimitInBytes(1024 * 1024);
m_generator =
- ImageFrameGenerator::create(SkISize::Make(100, 100), nullptr, true);
+ ImageFrameGenerator::create(SkISize::Make(100, 100), true,
+ ImageDecoder::ColorSpaceIgnored, nullptr);
m_decodersDestroyed = 0;
}

Powered by Google App Engine
This is Rietveld 408576698