Index: third_party/WebKit/Source/platform/text/Character.cpp |
diff --git a/third_party/WebKit/Source/platform/text/Character.cpp b/third_party/WebKit/Source/platform/text/Character.cpp |
index 72736c63bb0982e592da329bbd63b50d1d24119e..f4b0bf536950eff898d9e53d9b9d31b62c037b57 100644 |
--- a/third_party/WebKit/Source/platform/text/Character.cpp |
+++ b/third_party/WebKit/Source/platform/text/Character.cpp |
@@ -136,7 +136,7 @@ unsigned Character::expansionOpportunityCount(const LChar* characters, |
return length; |
} |
- if (direction == LTR) { |
+ if (direction == TextDirection::Ltr) { |
for (size_t i = 0; i < length; ++i) { |
if (treatAsSpace(characters[i])) { |
count++; |
@@ -165,7 +165,7 @@ unsigned Character::expansionOpportunityCount(const UChar* characters, |
bool& isAfterExpansion, |
const TextJustify textJustify) { |
unsigned count = 0; |
- if (direction == LTR) { |
+ if (direction == TextDirection::Ltr) { |
for (size_t i = 0; i < length; ++i) { |
UChar32 character = characters[i]; |
if (treatAsSpace(character)) { |