Index: third_party/WebKit/Source/web/WebFormControlElement.cpp |
diff --git a/third_party/WebKit/Source/web/WebFormControlElement.cpp b/third_party/WebKit/Source/web/WebFormControlElement.cpp |
index c78a0477d3519b603a03ff903e4197a2b52a16df..0c65d270e1e4ebcf440b4ddf5dda077a834a4b85 100644 |
--- a/third_party/WebKit/Source/web/WebFormControlElement.cpp |
+++ b/third_party/WebKit/Source/web/WebFormControlElement.cpp |
@@ -83,6 +83,8 @@ bool WebFormControlElement::autoComplete() const |
return constUnwrap<HTMLInputElement>()->shouldAutocomplete(); |
if (isHTMLTextAreaElement(*m_private)) |
return constUnwrap<HTMLTextAreaElement>()->shouldAutocomplete(); |
+ if (isHTMLSelectElement(*m_private)) |
+ return constUnwrap<HTMLSelectElement>()->shouldAutocomplete(); |
return false; |
} |