Index: third_party/WebKit/Source/core/html/TextControlElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp |
index b4ad1c46f2651a80dbd5f4ff16b9e7e79814a56e..4275bf29eccd10c1b74d9d0c2da56df11e0e431d 100644 |
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp |
@@ -891,7 +891,7 @@ String TextControlElement::directionForFormData() const { |
bool isAuto; |
TextDirection textDirection = |
element->directionalityIfhasDirAutoAttribute(isAuto); |
- return textDirection == RTL ? "rtl" : "ltr"; |
+ return textDirection == TextDirection::Rtl ? "rtl" : "ltr"; |
} |
} |