| 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 11a622a87ac5e2e2a0dcb4902dd6308cdf5ae439..81c4ec8fcd35bf7c2e6a93755586b8391bb65843 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -2248,7 +2248,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
|
| @@ -2413,8 +2413,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)
|
|
|