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 45ad336016f88854fadcafba42d86fab1b5a543f..8c9490c71938ba82486ef08faa40c269d267f9cb 100644 |
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp |
@@ -892,7 +892,7 @@ String TextControlElement::directionForFormData() const { |
bool isAuto; |
TextDirection textDirection = |
element->directionalityIfhasDirAutoAttribute(isAuto); |
- return textDirection == RTL ? "rtl" : "ltr"; |
+ return textDirection == TextDirection::Rtl ? "rtl" : "ltr"; |
} |
} |