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

Unified Diff: Source/core/platform/chromium/ScrollbarThemeChromium.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/chromium/ScrollbarThemeChromium.cpp
diff --git a/Source/core/platform/chromium/ScrollbarThemeChromium.cpp b/Source/core/platform/chromium/ScrollbarThemeChromium.cpp
index f862a49a01720bed8c9a9bcb3bb9510cbafbb634..24be4b7c4ecb0bcafd6376fe41d3286f8158e58b 100644
--- a/Source/core/platform/chromium/ScrollbarThemeChromium.cpp
+++ b/Source/core/platform/chromium/ScrollbarThemeChromium.cpp
@@ -122,11 +122,11 @@ void ScrollbarThemeChromium::paintTickmarks(GraphicsContext* context, ScrollbarT
// Calculate how far down (in pixels) the tick-mark should appear.
const int yPos = rect.y() + (rect.height() * percent);
- context->setFillColor(Color(0xCC, 0xAA, 0x00, 0xFF), ColorSpaceDeviceRGB);
+ context->setFillColor(Color(0xCC, 0xAA, 0x00, 0xFF));
FloatRect tickRect(rect.x(), yPos, rect.width(), 3);
context->fillRect(tickRect);
- context->setFillColor(Color(0xFF, 0xDD, 0x00, 0xFF), ColorSpaceDeviceRGB);
+ context->setFillColor(Color(0xFF, 0xDD, 0x00, 0xFF));
FloatRect tickStroke(rect.x(), yPos + 1, rect.width(), 1);
context->fillRect(tickStroke);
}
« no previous file with comments | « Source/core/platform/ScrollbarThemeComposite.cpp ('k') | Source/core/platform/chromium/ScrollbarThemeChromiumAndroid.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698