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

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 f79d682ddea09b8df86f34f6026742d09798a542..0873eeb93bc8e5e52ebefa8ef7e1b389c98831c7 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