| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index 5a38b9ab974ac9936100501fc2aeb538eb86621e..0aa79d80bd3b0f541317c4258b297326686f33a5 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -2249,7 +2249,7 @@ static void paintScrollbar(const Scrollbar* scrollbar, GraphicsContext& context,
|
| TransformRecorder transformRecorder(context, *scrollbar, AffineTransform::translation(-scrollbarRect.x(), -scrollbarRect.y()));
|
| IntRect transformedClip = clip;
|
| transformedClip.moveBy(scrollbarRect.location());
|
| - scrollbar->paint(&context, CullRect(transformedClip));
|
| + scrollbar->paint(context, CullRect(transformedClip));
|
| }
|
|
|
| // The following should be kept in sync with the code computing potential_new_recorded_viewport in
|
| @@ -2414,8 +2414,8 @@ void CompositedLayerMapping::paintContents(const GraphicsLayer* graphicsLayer, G
|
| } else if (graphicsLayer == layerForScrollCorner()) {
|
| IntPoint scrollCornerAndResizerLocation = m_owningLayer.scrollableArea()->scrollCornerAndResizerRect().location();
|
| CullRect cullRect(enclosingIntRect(interestRect));
|
| - ScrollableAreaPainter(*m_owningLayer.scrollableArea()).paintScrollCorner(&context, -scrollCornerAndResizerLocation, cullRect);
|
| - ScrollableAreaPainter(*m_owningLayer.scrollableArea()).paintResizer(&context, -scrollCornerAndResizerLocation, cullRect);
|
| + ScrollableAreaPainter(*m_owningLayer.scrollableArea()).paintScrollCorner(context, -scrollCornerAndResizerLocation, cullRect);
|
| + ScrollableAreaPainter(*m_owningLayer.scrollableArea()).paintResizer(context, -scrollCornerAndResizerLocation, cullRect);
|
| }
|
| InspectorInstrumentation::didPaint(m_owningLayer.layoutObject(), graphicsLayer, &context, LayoutRect(interestRect));
|
| #if ENABLE(ASSERT)
|
|
|