Index: third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
index 411615503fc82c2ec15a6929f657afae1ddb6087..b4962d64e9e50704e35d07b500751c4fcd9a3f88 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc |
@@ -505,7 +505,7 @@ NGLogicalOffset NGBlockLayoutAlgorithm::PositionFloatFragment( |
NGExclusion::Type exclusion_type = NGExclusion::kFloatLeft; |
// Calculate the float offset if needed. |
LayoutUnit float_offset; |
- if (CurrentChildStyle().floating() == EFloat::Right) { |
+ if (CurrentChildStyle().floating() == EFloat::kRight) { |
float_offset = opportunity.size.inline_size - fragment.InlineSize(); |
exclusion_type = NGExclusion::kFloatRight; |
} |