| Index: third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| index 20dc935cca7e839d66904f78c61840724ab75510..99343de751b3f470d80d413ad0601cf885587a70 100644
|
| --- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
|
| @@ -116,7 +116,6 @@ void FramePainter::paint(GraphicsContext& context,
|
| ClipRecorder recorder(
|
| context, *frameView().layoutView(), DisplayItem::kClipFrameScrollbars,
|
| IntRect(IntPoint(), visibleAreaWithScrollbars.size()));
|
| -
|
| paintScrollbars(context, scrollViewDirtyRect);
|
| }
|
| }
|
| @@ -198,10 +197,12 @@ void FramePainter::paintContents(GraphicsContext& context,
|
| void FramePainter::paintScrollbars(GraphicsContext& context,
|
| const IntRect& rect) {
|
| if (frameView().horizontalScrollbar() &&
|
| - !frameView().layerForHorizontalScrollbar())
|
| + (frameView().frame().document()->printing() ||
|
| + !frameView().layerForHorizontalScrollbar()))
|
| paintScrollbar(context, *frameView().horizontalScrollbar(), rect);
|
| if (frameView().verticalScrollbar() &&
|
| - !frameView().layerForVerticalScrollbar())
|
| + (frameView().frame().document()->printing() ||
|
| + !frameView().layerForVerticalScrollbar()))
|
| paintScrollbar(context, *frameView().verticalScrollbar(), rect);
|
|
|
| if (frameView().layerForScrollCorner())
|
|
|