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

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

Issue 1898403002: [WIP] Implement :dir() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase... other changes too probably Created 4 years, 7 months 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/HTMLTextFormControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
index b589dc52d771fec8f3f2d1de028c5bf3d666afd5..fee0d4eb8b14b2a62c494ae024abdd215db5ca67 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
@@ -779,8 +779,7 @@ String HTMLTextFormControlElement::directionForFormData() const
return dirAttributeValue;
if (equalIgnoringCase(dirAttributeValue, "auto")) {
- bool isAuto;
- TextDirection textDirection = element->directionalityIfhasDirAutoAttribute(isAuto);
+ TextDirection textDirection = element->directionality();
return textDirection == RTL ? "rtl" : "ltr";
}
}

Powered by Google App Engine
This is Rietveld 408576698