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

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

Issue 2462803002: Plumb color space to DecodingImageGenerator and ImageFrameGenerator (Closed)
Patch Set: Incorporate review feedback 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/ImageFrameGeneratorTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
index 99ff17507562ea559c30f1a0b14e57f32bceb2da..293c6daf04b603be6f8c0e4518a0f20967dc7327 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/ImageFrameGeneratorTest.cpp
@@ -59,7 +59,7 @@ class ImageFrameGeneratorTest : public ::testing::Test,
public:
void SetUp() override {
ImageDecodingStore::instance().setCacheLimitInBytes(1024 * 1024);
- m_generator = ImageFrameGenerator::create(fullSize(), false);
+ m_generator = ImageFrameGenerator::create(fullSize(), nullptr, false);
m_data = SharedBuffer::create();
m_segmentReader = SegmentReader::createFromSharedBuffer(m_data);
useMockImageDecoderFactory();
@@ -110,7 +110,7 @@ class ImageFrameGeneratorTest : public ::testing::Test,
m_frameCount = count;
if (count > 1) {
m_generator.clear();
- m_generator = ImageFrameGenerator::create(fullSize(), true);
+ m_generator = ImageFrameGenerator::create(fullSize(), nullptr, true);
useMockImageDecoderFactory();
}
}

Powered by Google App Engine
This is Rietveld 408576698