| Index: third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| index 3e4f079d35943e1535f6891dce47fb64813f6774..c7c3029150c9625c1acbc6f9ecb6ae0a7926e62c 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/PaintLayerCompositor.cpp
|
| @@ -58,6 +58,7 @@
|
| #include "platform/ScriptForbiddenScope.h"
|
| #include "platform/TraceEvent.h"
|
| #include "platform/graphics/GraphicsLayer.h"
|
| +#include "platform/graphics/paint/CullRect.h"
|
| #include "platform/graphics/paint/DrawingRecorder.h"
|
| #include "platform/graphics/paint/PaintController.h"
|
| #include "platform/graphics/paint/TransformDisplayItem.h"
|
| @@ -796,7 +797,7 @@ static void paintScrollbar(const Scrollbar* scrollbar, GraphicsContext& context,
|
| translation.translate(-paintOffset.x(), -paintOffset.y());
|
| TransformRecorder transformRecorder(context, *scrollbar, translation);
|
|
|
| - scrollbar->paint(&context, transformedClip);
|
| + scrollbar->paint(&context, CullRect(transformedClip));
|
| }
|
|
|
| void PaintLayerCompositor::paintContents(const GraphicsLayer* graphicsLayer, GraphicsContext& context, GraphicsLayerPaintingPhase, const IntRect& clip) const
|
|
|