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 15fa2e07ca658736df4a6257d6befc6bdf59c775..e9989997eccd85c272d8b422c83e578b535df12a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -2196,9 +2196,6 @@ bool LayoutBox::sizesLogicalWidthToFitContent(const Length& logicalWidth) const |
if (isFloating() || isInlineBlockOrInlineTable()) |
return true; |
- if (logicalWidth.type() == Intrinsic) |
- return true; |
- |
// Flexible box items should shrink wrap, so we lay them out at their intrinsic widths. |
// In the case of columns that have a stretch alignment, we go ahead and layout at the |
// stretched size to avoid an extra layout when applying alignment. |
@@ -2657,8 +2654,6 @@ LayoutUnit LayoutBox::computeReplacedLogicalWidthUsing(SizeType sizeType, const |
return adjustContentBoxLogicalWidthForBoxSizing(minimumValueForLength(logicalWidth, cw)); |
return LayoutUnit(); |
} |
- case Intrinsic: |
- case MinIntrinsic: |
case Auto: |
case MaxSizeNone: |
return intrinsicLogicalWidth(); |