Index: third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
index 7bc8ce32edf96d7f0dc0f33abc20541cbb69fab4..8642efce92e9f48d25823d94c16738ebd327937d 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -1091,8 +1091,9 @@ void HTMLInputElement::setValue(const String& value, |
notifyFormStateChanged(); |
} |
-void HTMLInputElement::setValueInternal(const String& sanitizedValue, |
- TextFieldEventBehavior eventBehavior) { |
+void HTMLInputElement::setNonAttributeValue(const String& sanitizedValue) { |
+ // This is a common code for ValueMode::kValue. |
+ DCHECK_EQ(m_inputType->valueMode(), ValueMode::kValue); |
m_valueIfDirty = sanitizedValue; |
m_hasDirtyValue = !m_valueIfDirty.isNull(); |
setNeedsValidityCheck(); |