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

Unified Diff: third_party/WebKit/Source/core/layout/shapes/Shape.cpp

Issue 2712083002: color: Remove blink pre-conversion code (Closed)
Patch Set: Rebase Created 3 years, 10 months 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/layout/shapes/Shape.cpp
diff --git a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
index a9375b55ec0445e74d66e065136345f7c217d98a..540875d1613778f2d71f3794fd08c64e29eb87ae 100644
--- a/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
+++ b/third_party/WebKit/Source/core/layout/shapes/Shape.cpp
@@ -246,8 +246,7 @@ std::unique_ptr<Shape> Shape::createRasterShape(Image* image,
// TODO(ccameron): No color conversion is required here.
image->draw(imageBuffer->canvas(), flags, imageDestRect, imageSourceRect,
DoNotRespectImageOrientation,
- Image::DoNotClampImageToSourceRect,
- ColorBehavior::transformToGlobalTarget());
+ Image::DoNotClampImageToSourceRect);
WTF::ArrayBufferContents contents;
imageBuffer->getImageData(Unmultiplied,

Powered by Google App Engine
This is Rietveld 408576698