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

Unified Diff: third_party/WebKit/Source/platform/text/BidiTextRun.cpp

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/platform/text/BidiTextRun.cpp
diff --git a/third_party/WebKit/Source/platform/text/BidiTextRun.cpp b/third_party/WebKit/Source/platform/text/BidiTextRun.cpp
index bd038e2fc26622c46efe3af2c99dcf3ad694286b..3caf3bf0d48041f65d4eb24999ef3fedbe0ddd33 100644
--- a/third_party/WebKit/Source/platform/text/BidiTextRun.cpp
+++ b/third_party/WebKit/Source/platform/text/BidiTextRun.cpp
@@ -39,7 +39,7 @@ TextDirection directionForRun(TextRun& run, bool* hasStrongDirectionality) {
if (!hasStrongDirectionality) {
// 8bit is Latin-1 and therefore is always LTR.
if (run.is8Bit())
- return LTR;
+ return TextDirection::Ltr;
// length == 1 for more than 90% of cases of width() for CJK text.
if (run.length() == 1 && U16_IS_SINGLE(run.characters16()[0]))
« no previous file with comments | « third_party/WebKit/Source/platform/text/BidiResolverTest.cpp ('k') | third_party/WebKit/Source/platform/text/Character.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698