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 6280fca7d790731c5ccffcbbcb0e1139be373b40..8553d6649dabbadf67a57644d169ce794d31f13f 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp |
@@ -454,7 +454,7 @@ void HTMLInputElement::initializeTypeInParsing() |
setNeedsWillValidateCheck(); |
- m_inputType->warnIfValueIsInvalid(fastGetAttribute(valueAttr).string()); |
+ m_inputType->warnIfValueIsInvalid(fastGetAttribute(valueAttr).getString()); |
m_inputTypeView->updateView(); |
setTextAsOfLastFormControlChangeEvent(value()); |
@@ -503,7 +503,7 @@ void HTMLInputElement::updateType() |
m_valueIfDirty = sanitizeValue(valueString); |
} else { |
if (!hasDirtyValue()) |
- m_inputType->warnIfValueIsInvalid(fastGetAttribute(valueAttr).string()); |
+ m_inputType->warnIfValueIsInvalid(fastGetAttribute(valueAttr).getString()); |
updateValueIfNeeded(); |
} |