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])) |