| Index: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| index e9c5f0efd901958fc5669532ea44fbc6c199493f..4cd2d1b8b9f4570766ee5db7173c719d48d336e1 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp
|
| @@ -79,7 +79,7 @@ static void applyClipRects(const ClipRectsContext& context,
|
| LayoutView* view = layoutObject.view();
|
| DCHECK(view);
|
| if (clipRects.fixed() && context.rootLayer->layoutObject() == view)
|
| - offset -= toIntSize(view->frameView()->scrollPosition());
|
| + offset -= LayoutSize(view->frameView()->scrollOffset());
|
| if (layoutObject.hasOverflowClip() ||
|
| (layoutObject.isSVGRoot() &&
|
| toLayoutSVGRoot(&layoutObject)->shouldApplyViewportClip()) ||
|
| @@ -348,7 +348,7 @@ ClipRect PaintLayerClipper::backgroundClipRect(
|
| if (parentClipRects->fixed() &&
|
| context.rootLayer->layoutObject() == layoutView &&
|
| result != LayoutRect(LayoutRect::infiniteIntRect()))
|
| - result.move(toIntSize(layoutView->frameView()->scrollPosition()));
|
| + result.move(LayoutSize(layoutView->frameView()->scrollOffset()));
|
|
|
| return result;
|
| }
|
|
|