| 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));
|
| }
|
|
|