| Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| index 0fa3385cfa43d62d3159fc4e8047924aee2062fe..00fc88810e61ade0644adfb3cf2330180d4ba887 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
| @@ -455,7 +455,7 @@ int LayoutBox::pixelSnappedScrollWidth() const
|
| int LayoutBox::pixelSnappedScrollHeight() const
|
| {
|
| if (hasOverflowClip())
|
| - return layer()->scrollableArea()->scrollHeight();
|
| + return snapSizeToPixel(layer()->scrollableArea()->scrollHeight(), location().y() + clientTop());
|
| // For objects with visible overflow, this matches IE.
|
| // FIXME: Need to work right with writing modes.
|
| return snapSizeToPixel(scrollHeight(), location().y() + clientTop());
|
|
|