Index: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
index 17b66150cb4766ad7f97c141a835f191edb71c10..4fb438d917909e5ffe50de41e02cb7bc1464921f 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc |
@@ -34,7 +34,7 @@ NGConstraintSpace::NGConstraintSpace( |
block_direction_fragmentation_type_(block_direction_fragmentation_type), |
is_new_fc_(is_new_fc), |
writing_mode_(writing_mode), |
- direction_(direction), |
+ direction_(static_cast<unsigned>(direction)), |
exclusions_(exclusions_) {} |
NGConstraintSpace* NGConstraintSpace::CreateFromLayoutObject( |