Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index 5390b7360ae1ca2e7fe1d29e0e78682f75fafc1b..328bbc60d72e50a60348d53298edb6a1f17ffd67 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -557,6 +557,7 @@ LayoutBlock* LayoutBoxModelObject::containingBlockForAutoHeightDetection(Length |
bool LayoutBoxModelObject::hasAutoHeightOrContainingBlockWithAutoHeight(bool checkingContainingBlock) const |
{ |
+ // TODO(rego): Check if we can somehow reuse LayoutBlock::availableLogicalHeightForPercentageComputation(). |
const LayoutBox* thisBox = isBox() ? toLayoutBox(this) : nullptr; |
Length logicalHeightLength = style()->logicalHeight(); |
LayoutBlock* cb = containingBlockForAutoHeightDetection(logicalHeightLength); |