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

Unified Diff: third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.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/line/BreakingContextInlineHeaders.h
diff --git a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
index d2db37f31dcbb91b878def139a7caa68e58b9049..02072ff660e53acd5f7118d9f9de34c1008cb330 100644
--- a/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
+++ b/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h
@@ -671,8 +671,8 @@ ALWAYS_INLINE TextDirection
textDirectionFromUnicode(WTF::Unicode::CharDirection direction) {
return direction == WTF::Unicode::RightToLeft ||
direction == WTF::Unicode::RightToLeftArabic
- ? RTL
- : LTR;
+ ? TextDirection::Rtl
+ : TextDirection::Ltr;
}
ALWAYS_INLINE float textWidth(

Powered by Google App Engine
This is Rietveld 408576698