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

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

Issue 2559013002: Add ColorBehavior to blink::Image draw methods (Closed)
Patch Set: Rebase 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/BitmapImageTest.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp b/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
index 9bcb80f76322a85fdc5e9b908c78e6928f10565b..05a8b8731dcb376064b17a2a6507c2382c73caa3 100644
--- a/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
+++ b/third_party/WebKit/Source/platform/graphics/BitmapImageTest.cpp
@@ -251,7 +251,7 @@ TEST_F(BitmapImageTest, recachingFrameAfterDataChanged) {
m_image->dataChanged(true);
EXPECT_EQ(0, lastDecodedSizeChange());
// Recaching the first frame also shouldn't affect decoded size.
- m_image->imageForCurrentFrame();
+ m_image->imageForCurrentFrame(ColorBehavior::transformToTargetForTesting());
EXPECT_EQ(0, lastDecodedSizeChange());
}

Powered by Google App Engine
This is Rietveld 408576698