Index: third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
index 5c08e2fbb47aff29346f9eafa4e8b2af7c627016..559e36d8e8785775de0552767dc270657961bb1c 100644 |
--- a/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
+++ b/third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h |
@@ -48,7 +48,7 @@ class CORE_EXPORT NGFragmentBase : public GarbageCollected<NGFragmentBase> { |
NGPhysicalFragmentBase* physical_fragment) |
: physical_fragment_(physical_fragment), |
writing_mode_(writing_mode), |
- direction_(direction) {} |
+ direction_(static_cast<unsigned>(direction)) {} |
Member<NGPhysicalFragmentBase> physical_fragment_; |