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

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: Added 2 changes in mac files 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 b6c82dd1f598bd511b99f3c9c8a4a245758a5ed7..dc29bc61969971a3302d93769044ba465d0666b0 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