Index: Source/core/html/HTMLInputElement.cpp |
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp |
index 1e361ca47da3a56f40a2a666f4c751b1847631ce..2c870efc110c728589badb5dcc9970a43c7f4ed1 100644 |
--- a/Source/core/html/HTMLInputElement.cpp |
+++ b/Source/core/html/HTMLInputElement.cpp |
@@ -109,7 +109,6 @@ HTMLInputElement::HTMLInputElement(const QualifiedName& tagName, Document& docum |
, m_hasType(false) |
, m_isActivatedSubmit(false) |
, m_autocomplete(Uninitialized) |
- , m_isAutofilled(false) |
, m_hasNonEmptyList(false) |
, m_stateRestored(false) |
, m_parsingInProgress(createdByParser) |
@@ -840,12 +839,11 @@ bool HTMLInputElement::appendFormData(FormDataList& encoding, bool multipart) |
return m_inputType->isFormDataAppendable() && m_inputType->appendFormData(encoding, multipart); |
} |
-void HTMLInputElement::reset() |
+void HTMLInputElement::resetImpl() |
{ |
if (m_inputType->storesValueSeparateFromAttribute()) |
setValue(String()); |
- setAutofilled(false); |
setChecked(hasAttribute(checkedAttr)); |
m_reflectsCheckedAttribute = true; |
} |
@@ -1322,15 +1320,6 @@ KURL HTMLInputElement::src() const |
return document().completeURL(fastGetAttribute(srcAttr)); |
} |
-void HTMLInputElement::setAutofilled(bool autofilled) |
-{ |
- if (autofilled == m_isAutofilled) |
- return; |
- |
- m_isAutofilled = autofilled; |
- setNeedsStyleRecalc(); |
-} |
- |
FileList* HTMLInputElement::files() |
{ |
return m_inputType->files(); |