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 6bd87f905f2b4739a9110fcb63b3ab66bf9c762e..208edb61c0b91529b84f7a2f5deeb1e53886fdcc 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp |
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp |
@@ -2768,7 +2768,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) |