| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index bb4e1e1e2a8dcc593eb8310eafde89370b6db053..7f981ede20bb1a2161bbe71cd3826efc547bb1f5 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -2955,8 +2955,7 @@ void FrameView::forceLayoutForPagination(const FloatSize& pageSize, const FloatS
|
| LayoutUnit clippedLogicalLeft;
|
| if (!layoutView->style()->isLeftToRightDirection())
|
| clippedLogicalLeft = LayoutUnit(docLogicalRight - pageLogicalWidth);
|
| - // TODO(crbug.com/638981): Are the conversions to int intentional?
|
| - LayoutRect overflow(clippedLogicalLeft.toInt(), docLogicalTop.toInt(), pageLogicalWidth, docLogicalHeight.toInt());
|
| + LayoutRect overflow(clippedLogicalLeft, docLogicalTop, LayoutUnit(pageLogicalWidth), docLogicalHeight);
|
|
|
| if (!horizontalWritingMode)
|
| overflow = overflow.transposedRect();
|
|
|