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

Unified Diff: third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.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/modules/canvas2d/BaseRenderingContext2D.cpp
diff --git a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
index c57036dd49aab7e91a0c1e0bac266a63448e9e4d..51e317a4e5270974951d52035fefa1f2015d9036 100644
--- a/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
+++ b/third_party/WebKit/Source/modules/canvas2d/BaseRenderingContext2D.cpp
@@ -1082,7 +1082,7 @@ void BaseRenderingContext2D::drawImageInternal(PaintCanvas* c,
if (!imageSource->isVideoElement()) {
imageFlags.setAntiAlias(shouldDrawImageAntialiased(dstRect));
image->draw(c, imageFlags, dstRect, srcRect, DoNotRespectImageOrientation,
- Image::DoNotClampImageToSourceRect, drawImageColorBehavior());
+ Image::DoNotClampImageToSourceRect);
} else {
c->save();
c->clipRect(dstRect);

Powered by Google App Engine
This is Rietveld 408576698