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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageTest.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/core/svg/graphics/SVGImageTest.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
index b91c39d0f3f4ec17b7acebd564f6a251ab60634c..123c7e29e82505ab7a1dda362a3726ec2423ba26 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
@@ -32,7 +32,8 @@ class SVGImageTest : public ::testing::Test {
FloatRect dummyRect(0, 0, 100, 100);
image->draw(nullCanvas.get(), paint, dummyRect, dummyRect,
DoNotRespectImageOrientation,
- Image::DoNotClampImageToSourceRect);
+ Image::DoNotClampImageToSourceRect,
+ ColorBehavior::transformToGlobalTarget());
}
private:

Powered by Google App Engine
This is Rietveld 408576698