Index: third_party/WebKit/Source/core/html/forms/InputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/InputType.cpp b/third_party/WebKit/Source/core/html/forms/InputType.cpp |
index dffeacf8981505c6693568b41d319830d05ce2e0..a414d591d6788a316808e421069c9dbb666850a7 100644 |
--- a/third_party/WebKit/Source/core/html/forms/InputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/InputType.cpp |
@@ -386,7 +386,7 @@ std::pair<String, String> InputType::validationMessage() const |
// should include a title attribute to give a description of the |
// pattern. User agents may use the contents of this attribute, if it |
// is present, when informing the user that the pattern is not matched |
- return std::make_pair(locale().queryString(WebLocalizedString::ValidationPatternMismatch), element().fastGetAttribute(titleAttr).string()); |
+ return std::make_pair(locale().queryString(WebLocalizedString::ValidationPatternMismatch), element().fastGetAttribute(titleAttr).getString()); |
} |
if (element().tooLong()) |