Index: third_party/WebKit/Source/core/layout/LayoutListBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp |
index 7d4a09b205f2bd9fce82466576bdc6bfb04c36a1..13548dbbca62a7a61840c24f7da4b12ba5918e8b 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutListBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutListBox.cpp |
@@ -140,7 +140,7 @@ void LayoutListBox::computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, L |
{ |
LayoutBlockFlow::computeIntrinsicLogicalWidths(minLogicalWidth, maxLogicalWidth); |
if (style()->width().hasPercent()) |
- minLogicalWidth = 0; |
+ minLogicalWidth = LayoutUnit(); |
} |
void LayoutListBox::scrollToRect(const LayoutRect& rect) |