| Index: third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| diff --git a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| index 2c9ae64fcd0415694174c9362855c74e0022d8d5..681dcf653f1534ec380de0faf3a0c7edd40b9ab6 100644
|
| --- a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| +++ b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
|
| @@ -347,10 +347,10 @@ bool ThemePainterMac::paintSliderTrack(const LayoutObject& o, const PaintInfo& p
|
| FloatRoundedRect fillRect(fillBounds, fillRadius, fillRadius, fillRadius, fillRadius);
|
| paintInfo.context->fillRoundedRect(fillRect, fillColor);
|
|
|
| - IntSize shadowOffset(isVerticalSlider ? 1 : 0,
|
| - isVerticalSlider ? 0 : 1);
|
| - int shadowBlur = 3;
|
| - int shadowSpread = 0;
|
| + FloatSize shadowOffset(isVerticalSlider ? 1 : 0,
|
| + isVerticalSlider ? 0 : 1);
|
| + float shadowBlur = 3;
|
| + float shadowSpread = 0;
|
| paintInfo.context->save();
|
| paintInfo.context->drawInnerShadow(fillRect, shadowColor, shadowOffset, shadowBlur, shadowSpread);
|
| paintInfo.context->restore();
|
|
|