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 a4151473b1b2abb2058fea718ef40b08e62b6621..123986ca8a6cde5e47da7a215c62e2fc3a197d24 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 |
@@ -36,7 +36,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( |