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

Unified Diff: Source/core/platform/graphics/filters/SourceAlpha.cpp

Issue 16357011: Remove support for -webkit-color-correction (which we've never supported on (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: resolve merge conflicts, obey brace style changes Created 7 years, 6 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: Source/core/platform/graphics/filters/SourceAlpha.cpp
diff --git a/Source/core/platform/graphics/filters/SourceAlpha.cpp b/Source/core/platform/graphics/filters/SourceAlpha.cpp
index cbe3a278fd1ab935d4d4b75e2d2444036676455d..74662e9917955588ab026e951faee43dd7a2d1f5 100644
--- a/Source/core/platform/graphics/filters/SourceAlpha.cpp
+++ b/Source/core/platform/graphics/filters/SourceAlpha.cpp
@@ -62,8 +62,8 @@ void SourceAlpha::applySoftware()
FloatRect imageRect(FloatPoint(), absolutePaintRect().size());
GraphicsContext* filterContext = resultImage->context();
- filterContext->fillRect(imageRect, Color::black, ColorSpaceDeviceRGB);
- filterContext->drawImageBuffer(filter->sourceImage(), ColorSpaceDeviceRGB, IntPoint(), CompositeDestinationIn);
+ filterContext->fillRect(imageRect, Color::black);
+ filterContext->drawImageBuffer(filter->sourceImage(), IntPoint(), CompositeDestinationIn);
}
TextStream& SourceAlpha::externalRepresentation(TextStream& ts, int indent) const
« no previous file with comments | « Source/core/platform/graphics/filters/FilterEffect.cpp ('k') | Source/core/platform/graphics/filters/SourceGraphic.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698