Chromium Code Reviews| Index: Source/core/paint/ScrollableAreaPainter.cpp |
| diff --git a/Source/core/paint/ScrollableAreaPainter.cpp b/Source/core/paint/ScrollableAreaPainter.cpp |
| index bea70b919cc8aadb1b2dc7f921b1742ceb601c7b..6d90adb860c2250daea1fecf661344767b3258d4 100644 |
| --- a/Source/core/paint/ScrollableAreaPainter.cpp |
| +++ b/Source/core/paint/ScrollableAreaPainter.cpp |
| @@ -40,7 +40,7 @@ void ScrollableAreaPainter::paintResizer(GraphicsContext* context, const IntPoin |
| if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::Resizer)) |
| return; |
| - LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::Resizer, absRect); |
| + LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::Resizer, LayoutRect(absRect)); |
|
jbroman
2015/08/26 21:45:09
ditto
chrishtr
2015/08/26 22:32:21
Done.
|
| drawPlatformResizerImage(context, absRect); |
| @@ -195,7 +195,7 @@ void ScrollableAreaPainter::paintScrollCorner(GraphicsContext* context, const In |
| if (LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner)) |
| return; |
| - LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, absRect); |
| + LayoutObjectDrawingRecorder recorder(*context, scrollableArea().box(), DisplayItem::ScrollbarCorner, LayoutRect(absRect)); |
|
jbroman
2015/08/26 21:45:09
ditto
chrishtr
2015/08/26 22:32:21
Done.
|
| context->fillRect(absRect, Color::white); |
| } |