Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(998)

Unified Diff: Source/core/html/HTMLInputElement.cpp

Issue 364503002: Revert of node.cloneNode() should clone the value of file upload elements (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/forms/FileInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 736d6166a972d3ff580c39b9786a19b79de3ff00..7952c58f83be743b8803e9610ed433ab59f45558 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -909,7 +909,6 @@
setChecked(sourceElement.m_isChecked);
m_reflectsCheckedAttribute = sourceElement.m_reflectsCheckedAttribute;
m_isIndeterminate = sourceElement.m_isIndeterminate;
- m_inputType->copyNonAttributeProperties(sourceElement);
HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(source);
@@ -1320,7 +1319,7 @@
return document().completeURL(fastGetAttribute(srcAttr));
}
-FileList* HTMLInputElement::files() const
+FileList* HTMLInputElement::files()
{
return m_inputType->files();
}
« no previous file with comments | « Source/core/html/HTMLInputElement.h ('k') | Source/core/html/forms/FileInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698