Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(648)

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_fragment_base.h

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698