Chromium Code Reviews| Index: Source/core/paint/FramePainter.cpp |
| diff --git a/Source/core/paint/FramePainter.cpp b/Source/core/paint/FramePainter.cpp |
| index 440c82167af2173537d632b7902ed5dacc720331..c7778e8a5a057684426f410abb07010649d6310f 100644 |
| --- a/Source/core/paint/FramePainter.cpp |
| +++ b/Source/core/paint/FramePainter.cpp |
| @@ -166,7 +166,7 @@ void FramePainter::paintScrollCorner(GraphicsContext* context, const IntRect& co |
| if (frameView().scrollCorner()) { |
| bool needsBackground = frameView().frame().isMainFrame(); |
| if (needsBackground && !LayoutObjectDrawingRecorder::useCachedDrawingIfPossible(*context, *frameView().layoutView(), DisplayItem::ScrollbarCorner)) { |
| - LayoutObjectDrawingRecorder drawingRecorder(*context, *frameView().layoutView(), DisplayItem::ScrollbarCorner, cornerRect); |
| + LayoutObjectDrawingRecorder drawingRecorder(*context, *frameView().layoutView(), DisplayItem::ScrollbarCorner, LayoutRect(cornerRect)); |
|
jbroman
2015/08/26 19:06:43
ditto: no need to go via LayoutRect
chrishtr
2015/08/26 20:53:51
Fixed.
|
| context->fillRect(cornerRect, frameView().baseBackgroundColor()); |
| } |