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 f1f10cd70a418395ddb1d61d6de52c4299cc5ee7..f3f492c824a9bbd014f6afc7297504cb9ea94648 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 |
@@ -50,7 +50,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_; |