Index: Source/web/WebFormControlElement.cpp |
diff --git a/Source/web/WebFormControlElement.cpp b/Source/web/WebFormControlElement.cpp |
index 34ec147ad70ecc8ccc350e28cf3e0e9f7755f729..01ec5b0ffbccf467e17ca035bc7459ae5726c024 100644 |
--- a/Source/web/WebFormControlElement.cpp |
+++ b/Source/web/WebFormControlElement.cpp |
@@ -172,9 +172,9 @@ int WebFormControlElement::selectionEnd() const |
WebString WebFormControlElement::directionForFormData() const |
{ |
if (isHTMLInputElement(*m_private)) |
- return constUnwrap<HTMLInputElement>()->directionForFormData(); |
+ return constUnwrap<HTMLInputElement>()->directionForAutocomplete(); |
if (isHTMLTextAreaElement(*m_private)) |
- return constUnwrap<HTMLTextAreaElement>()->directionForFormData(); |
+ return constUnwrap<HTMLTextAreaElement>()->directionForAutocomplete(); |
return WebString(); |
} |