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 b826a3e0771feb27c2a01a0ab53f9e5245428e6c..c7f0f27d3ead0f40e91f6733e82661342a58b769 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp |
@@ -1495,13 +1495,13 @@ void LayoutBlock::computeBlockPreferredLogicalWidths( |
if (child->isFloating() || |
(child->isBox() && toLayoutBox(child)->avoidsFloats())) { |
LayoutUnit floatTotalWidth = floatLeftWidth + floatRightWidth; |
- if (childStyle->clear() == ClearBoth || |
- childStyle->clear() == ClearLeft) { |
+ if (childStyle->clear() == EClear::kBoth || |
+ childStyle->clear() == EClear::kLeft) { |
maxLogicalWidth = std::max(floatTotalWidth, maxLogicalWidth); |
floatLeftWidth = LayoutUnit(); |
} |
- if (childStyle->clear() == ClearBoth || |
- childStyle->clear() == ClearRight) { |
+ if (childStyle->clear() == EClear::kBoth || |
+ childStyle->clear() == EClear::kRight) { |
maxLogicalWidth = std::max(floatTotalWidth, maxLogicalWidth); |
floatRightWidth = LayoutUnit(); |
} |