Index: third_party/WebKit/Source/platform/text/BidiCharacterRun.h |
diff --git a/third_party/WebKit/Source/platform/text/BidiCharacterRun.h b/third_party/WebKit/Source/platform/text/BidiCharacterRun.h |
index 63086139d8cc4da4d0c22725ef12aebb235910c6..8fb7162e20b36b89a02f1375fc5bde10169f56c3 100644 |
--- a/third_party/WebKit/Source/platform/text/BidiCharacterRun.h |
+++ b/third_party/WebKit/Source/platform/text/BidiCharacterRun.h |
@@ -73,7 +73,9 @@ struct BidiCharacterRun { |
bool dirOverride(bool visuallyOrdered) { |
return m_override || visuallyOrdered; |
} |
- TextDirection direction() const { return reversed(false) ? RTL : LTR; } |
+ TextDirection direction() const { |
+ return reversed(false) ? TextDirection::Rtl : TextDirection::Ltr; |
+ } |
BidiCharacterRun* next() const { return m_next; } |
void setNext(BidiCharacterRun* next) { m_next = next; } |