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

Unified Diff: Source/core/platform/ScrollbarThemeComposite.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
« no previous file with comments | « Source/core/platform/ScrollbarTheme.h ('k') | Source/core/platform/chromium/ScrollbarThemeChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/ScrollbarThemeComposite.cpp
diff --git a/Source/core/platform/ScrollbarThemeComposite.cpp b/Source/core/platform/ScrollbarThemeComposite.cpp
index 2315541f6fb35f42c0105aa392e0f79346e75c71..61e3343aabb7a0656c02e4361b32ccff08361a62 100644
--- a/Source/core/platform/ScrollbarThemeComposite.cpp
+++ b/Source/core/platform/ScrollbarThemeComposite.cpp
@@ -261,7 +261,7 @@ int ScrollbarThemeComposite::trackLength(ScrollbarThemeClient* scrollbar)
void ScrollbarThemeComposite::paintScrollCorner(ScrollView*, GraphicsContext* context, const IntRect& cornerRect)
{
- context->fillRect(cornerRect, Color::white, ColorSpaceDeviceRGB);
+ context->fillRect(cornerRect, Color::white);
}
IntRect ScrollbarThemeComposite::thumbRect(ScrollbarThemeClient* scrollbar)
@@ -279,12 +279,10 @@ IntRect ScrollbarThemeComposite::thumbRect(ScrollbarThemeClient* scrollbar)
}
void ScrollbarThemeComposite::paintOverhangAreas(ScrollView*, GraphicsContext* context, const IntRect& horizontalOverhangRect, const IntRect& verticalOverhangRect, const IntRect& dirtyRect)
-{
- context->setFillColor(Color::white, ColorSpaceDeviceRGB);
+{
+ context->setFillColor(Color::white);
if (!horizontalOverhangRect.isEmpty())
context->fillRect(intersection(horizontalOverhangRect, dirtyRect));
-
- context->setFillColor(Color::white, ColorSpaceDeviceRGB);
if (!verticalOverhangRect.isEmpty())
context->fillRect(intersection(verticalOverhangRect, dirtyRect));
}
« no previous file with comments | « Source/core/platform/ScrollbarTheme.h ('k') | Source/core/platform/chromium/ScrollbarThemeChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698