| Index: third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| index 60614ed935b5dad1a1cdb844eb89ff5dee284e93..32e581991ee49ea030b3248ce0a0cd72cce957f5 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
| @@ -169,7 +169,7 @@ void PaintPropertyTreeBuilder::buildTreeNodes(
|
| createOrUpdateFrameViewContentClip(frameView, context.current.clip,
|
| frameView.preTranslation(), contentClip);
|
|
|
| - DoubleSize scrollOffset = frameView.scrollOffsetDouble();
|
| + ScrollOffset scrollOffset = frameView.scrollOffset();
|
| if (frameView.isScrollable() || !scrollOffset.isZero()) {
|
| TransformationMatrix frameScroll;
|
| frameScroll.translate(-scrollOffset.width(), -scrollOffset.height());
|
| @@ -568,7 +568,7 @@ void PaintPropertyTreeBuilder::updateScrollAndScrollTranslation(
|
| if (object.hasOverflowClip()) {
|
| const LayoutBox& box = toLayoutBox(object);
|
| const PaintLayerScrollableArea* scrollableArea = box.getScrollableArea();
|
| - DoubleSize scrollOffset = box.scrolledContentOffset();
|
| + IntSize scrollOffset = box.scrolledContentOffset();
|
| if (!scrollOffset.isZero() || scrollableArea->scrollsOverflow()) {
|
| TransformationMatrix matrix = TransformationMatrix().translate(
|
| -scrollOffset.width(), -scrollOffset.height());
|
|
|