Chromium Code Reviews| Index: Source/core/html/HTMLTextAreaElement.cpp |
| diff --git a/Source/core/html/HTMLTextAreaElement.cpp b/Source/core/html/HTMLTextAreaElement.cpp |
| index 196aa550578b9bd9a3c7e54103fa2949da1b2003..c082badfc0e9b4775ecbb9ec463c3008a2e3bc2f 100644 |
| --- a/Source/core/html/HTMLTextAreaElement.cpp |
| +++ b/Source/core/html/HTMLTextAreaElement.cpp |
| @@ -98,6 +98,11 @@ void HTMLTextAreaElement::didAddUserAgentShadowRoot(ShadowRoot& root) |
| root.appendChild(TextControlInnerTextElement::create(document())); |
| } |
| +bool HTMLTextAreaElement::shouldAutocomplete() const |
|
tkent
2014/02/16 23:56:05
This function adds nothing. We don't need to add
|
| +{ |
| + return HTMLTextFormControlElement::shouldAutocomplete(); |
| +} |
| + |
| const AtomicString& HTMLTextAreaElement::formControlType() const |
| { |
| DEFINE_STATIC_LOCAL(const AtomicString, textarea, ("textarea", AtomicString::ConstructFromLiteral)); |