| 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";
|
| }
|
| }
|
|
|