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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc

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_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(

Powered by Google App Engine
This is Rietveld 408576698