Chromium Code Reviews| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| index 04c701c370f4fcc0f87c82d3f54ac3fae6a5d6d9..1d0f05a7e0afb45b434c4c2e577061c3c677d744 100644 |
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
| @@ -1872,4 +1872,9 @@ void LayoutBlock::checkPositionedObjectsNeedLayout() |
| #endif |
| +bool LayoutBlock::hasDefiniteLogicalHeight() const |
| +{ |
| + return LayoutBox::availableLogicalHeightForPercentageComputation(this, false, scrollsOverflowY()) != LayoutUnit(-1); |
|
svillar
2016/07/18 08:43:30
This is one of the reasons why bools are normally
|
| +} |
| + |
| } // namespace blink |