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

Unified Diff: Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm

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/ScrollbarThemeChromiumMac.mm
diff --git a/Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm b/Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm
index 7eeb1c4957457e2c1646303093d8edb07d21c9d8..c09f23af4579c869c96c2302af2093b2eff319b4 100644
--- a/Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm
+++ b/Source/core/platform/chromium/ScrollbarThemeChromiumMac.mm
@@ -256,7 +256,7 @@ bool ScrollbarThemeChromiumMac::paint(ScrollbarThemeClient* scrollbar, GraphicsC
}
if (!canDrawDirectly)
- context->drawImageBuffer(imageBuffer.get(), ColorSpaceDeviceRGB, scrollbar->frameRect().location());
+ context->drawImageBuffer(imageBuffer.get(), scrollbar->frameRect().location());
return true;
}
@@ -274,8 +274,8 @@ void ScrollbarThemeChromiumMac::paintGivenTickmarks(GraphicsContext* context, Sc
GraphicsContextStateSaver stateSaver(*context);
context->setShouldAntialias(false);
- context->setStrokeColor(Color(0xCC, 0xAA, 0x00, 0xFF), ColorSpaceDeviceRGB);
- context->setFillColor(Color(0xFF, 0xDD, 0x00, 0xFF), ColorSpaceDeviceRGB);
+ context->setStrokeColor(Color(0xCC, 0xAA, 0x00, 0xFF));
+ context->setFillColor(Color(0xFF, 0xDD, 0x00, 0xFF));
for (Vector<IntRect>::const_iterator i = tickmarks.begin(); i != tickmarks.end(); ++i) {
// Calculate how far down (in %) the tick-mark should appear.
« no previous file with comments | « Source/core/platform/chromium/ScrollbarThemeChromiumAndroid.cpp ('k') | Source/core/platform/graphics/BitmapImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698