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 cfa3354378d20c10f581e8ed6d39f253b884a6ca..70378c63935f0ca90fa1e20524e8e9a0f4157e1a 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp |
@@ -170,7 +170,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()); |
@@ -574,7 +574,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()); |