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

Unified Diff: Source/core/platform/graphics/chromium/IconChromium.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/chromium/IconChromium.cpp
diff --git a/Source/core/platform/graphics/chromium/IconChromium.cpp b/Source/core/platform/graphics/chromium/IconChromium.cpp
index 1d3557346f2a2ff072a6e224e3e6296a2a0d5dd1..cadfd52d6001b2caac8b217450af50400e6df0be 100644
--- a/Source/core/platform/graphics/chromium/IconChromium.cpp
+++ b/Source/core/platform/graphics/chromium/IconChromium.cpp
@@ -47,12 +47,7 @@ Icon::~Icon()
void Icon::paint(GraphicsContext* context, const IntRect& rect)
{
- if (context->paintingDisabled())
- return;
-
- // An Icon doesn't know the color space of the file upload control.
- // So use ColorSpaceDeviceRGB.
- context->drawImage(m_icon.get(), ColorSpaceDeviceRGB, rect);
+ context->drawImage(m_icon.get(), rect);
}
} // namespace WebCore
« no previous file with comments | « Source/core/platform/graphics/ShadowBlur.cpp ('k') | Source/core/platform/graphics/chromium/TransparencyWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698