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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.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/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";
}
}

Powered by Google App Engine
This is Rietveld 408576698