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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineIterator.h

Issue 2546333002: Changed Order to an enum class and renamed its members (Closed)
Patch Set: 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/line/InlineIterator.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineIterator.h b/third_party/WebKit/Source/core/layout/line/InlineIterator.h
index 412099f4bdd3d27b37335778efc010cf4a77af65..b7b45207aa4d5e4df21ee892b46b1a2403777830 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineIterator.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineIterator.h
@@ -152,7 +152,8 @@ static inline WTF::Unicode::CharDirection embedCharFromDirection(
}
static inline bool treatAsIsolated(const ComputedStyle& style) {
- return isIsolated(style.unicodeBidi()) && style.rtlOrdering() == LogicalOrder;
+ return isIsolated(style.unicodeBidi()) &&
+ style.rtlOrdering() == EOrder::Logical;
}
template <class Observer>

Powered by Google App Engine
This is Rietveld 408576698