Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 2f0c98f78df8b94055def04cbc67dc3db7bdd15f..d2214743dc36a06ebe1d13de49223450a4f2e287 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -2839,7 +2839,7 @@ LayoutUnit LayoutBox::computePercentageLogicalHeight(const Length& height) const |
} |
cb->addPercentHeightDescendant(const_cast<LayoutBox*>(this)); |
- LayoutUnit availableHeight; |
+ LayoutUnit availableHeight(-1); |
if (isHorizontalWritingMode() != cb->isHorizontalWritingMode()) { |
availableHeight = containingBlockChild->containingBlockLogicalWidthForContent(); |
} else if (hasOverrideContainingBlockLogicalHeight()) { |