Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutView.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
| index 0fc2e4519123d7005a10b7863ab065341dc0b530..2363a95b2b9780d0c3cfc85998e50d8e5ed438f7 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutView.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp |
| @@ -833,7 +833,9 @@ IntRect LayoutView::documentRect() const |
| { |
| LayoutRect overflowRect(layoutOverflowRect()); |
| flipForWritingMode(overflowRect); |
| - return pixelSnappedIntRect(overflowRect); |
| + return IntRect(roundedIntPoint(overflowRect.location()), IntSize( |
| + floorToInt(overflowRect.width()), |
|
eae
2016/07/12 22:26:39
This is incorrect. We do not floor sizes, we pixel
rhogan
2016/07/13 18:27:13
Yes, this is wrong.
|
| + floorToInt(overflowRect.height()))); |
| } |
| bool LayoutView::rootBackgroundIsEntirelyFixed() const |