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 6f2ceee06cd38b7eebf8828ca9cde565f9b1a570..c801ec96e5cbfc8cffdf26662a4ebc85873f6c69 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -3517,8 +3517,8 @@ bool LayoutBox::LogicalHeightComputesAsNone(SizeType size_type) const { |
Length logical_height = size_type == kMinSize ? Style()->LogicalMinHeight() |
: Style()->LogicalMaxHeight(); |
Length initial_logical_height = size_type == kMinSize |
- ? ComputedStyle::InitialMinSize() |
- : ComputedStyle::InitialMaxSize(); |
+ ? ComputedStyle::InitialMinHeight() |
+ : ComputedStyle::InitialMaxHeight(); |
if (logical_height == initial_logical_height) |
return true; |