Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp

Issue 2555923002: Changed TextDirection to an enum class and renamed its members (Closed)
Patch Set: Rebase after reopen Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 a3a0d1d4fbf02b1d39013c61337acdf008c2e314..3372631c349bb2394db39a0d282966e2cb1c6d23 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp
@@ -460,8 +460,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);

Powered by Google App Engine
This is Rietveld 408576698