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

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

Issue 1134593004: Reapply the patch r191685 with fixing the regression issue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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/HTMLTextFormControlElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLTextFormControlElement.cpp
diff --git a/Source/core/html/HTMLTextFormControlElement.cpp b/Source/core/html/HTMLTextFormControlElement.cpp
index 8e65cb613615538ec2cdd66fab503c67efed4ffb..80157c196801b7286dc9885908f8c226123b047c 100644
--- a/Source/core/html/HTMLTextFormControlElement.cpp
+++ b/Source/core/html/HTMLTextFormControlElement.cpp
@@ -1006,4 +1006,11 @@ Position HTMLTextFormControlElement::endOfSentence(const Position& position)
return endOfInnerText(textFormControl);
}
+void HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(const Element& source)
+{
+ const HTMLTextFormControlElement& sourceElement = static_cast<const HTMLTextFormControlElement&>(source);
+ m_lastChangeWasUserEdit = sourceElement.m_lastChangeWasUserEdit;
+ HTMLFormControlElement::copyNonAttributePropertiesFromElement(source);
+}
+
} // namespace blink
« no previous file with comments | « Source/core/html/HTMLTextFormControlElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698