Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
index 5f6d4e11c48bcd7583802123b4b76faed597561a..5ea07a8bf13301058cf5c55b1255c701a8072e41 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp |
@@ -462,8 +462,8 @@ void HTMLFormControlElement::updateVisibleValidationMessage() { |
m_hasValidationMessage = true; |
ValidationMessageClient* client = &page->validationMessageClient(); |
- TextDirection messageDir = LTR; |
- TextDirection subMessageDir = LTR; |
+ TextDirection messageDir = TextDirection::Ltr; |
+ TextDirection subMessageDir = TextDirection::Ltr; |
String subMessage = validationSubMessage().stripWhiteSpace(); |
if (message.isEmpty()) |
client->hideValidationMessage(*this); |