Index: third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp b/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
index 084792c090c72a9e9fe7fd5d333273ae0d28d8ae..d82553414a2492a1a218afedee817a180a01f9b5 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp |
@@ -285,7 +285,7 @@ LayoutUnit LayoutMultiColumnFlowThread::maxColumnLogicalHeight() const |
const LayoutBlockFlow* multicolBlock = multiColumnBlockFlow(); |
Length logicalMaxHeight = multicolBlock->style()->logicalMaxHeight(); |
if (!logicalMaxHeight.isMaxSizeNone()) { |
- LayoutUnit resolvedLogicalMaxHeight = multicolBlock->computeContentLogicalHeight(MaxSize, logicalMaxHeight, -1); |
+ LayoutUnit resolvedLogicalMaxHeight = multicolBlock->computeContentLogicalHeight(MaxSize, logicalMaxHeight, LayoutUnit(-1)); |
if (resolvedLogicalMaxHeight != -1) |
return resolvedLogicalMaxHeight; |
} |