Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
index 209a6cab8287a643583afcd4d6f631e5993a596c..e1befd626772d76c2a51f284bf2b1311b9639ef1 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp |
@@ -586,12 +586,12 @@ LayoutUnit PaintLayerScrollableArea::scrollHeight() const |
int PaintLayerScrollableArea::pixelSnappedScrollWidth() const |
{ |
- return snapSizeToPixel(scrollWidth(), box().clientLeft() + box().location().x()); |
+ return snapSizeToPixel(scrollWidth(), box().clientLeft()); |
} |
int PaintLayerScrollableArea::pixelSnappedScrollHeight() const |
{ |
- return snapSizeToPixel(scrollHeight(), box().clientTop() + box().location().y()); |
+ return snapSizeToPixel(scrollHeight(), box().clientTop()); |
} |
void PaintLayerScrollableArea::updateScrollOrigin() |