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 de923eecb350bf4c8fe65778e6a205192c500dd0..89c94ef5e4126143fe8836ae02866bd6ca56faea 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2767,7 +2767,7 @@ void FrameView::forceLayoutForPagination(const FloatSize& pageSize, const FloatS |
LayoutUnit docLogicalRight = horizontalWritingMode ? updatedDocumentRect.maxX() : updatedDocumentRect.maxY(); |
LayoutUnit clippedLogicalLeft; |
if (!layoutView->style()->isLeftToRightDirection()) |
- clippedLogicalLeft = docLogicalRight - pageLogicalWidth; |
+ clippedLogicalLeft = LayoutUnit(docLogicalRight - pageLogicalWidth); |
LayoutRect overflow(clippedLogicalLeft, docLogicalTop, pageLogicalWidth, docLogicalHeight); |
if (!horizontalWritingMode) |