Index: third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp |
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp b/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp |
index d9dfc3f99d0ffd78dd4d2e0875f83e98bf7f445f..1128d4431ff42cf88b80607b0fec3f3cbbc828fe 100644 |
--- a/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp |
+++ b/third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp |
@@ -50,7 +50,7 @@ static String stripLeadingAndTrailingHTMLSpaces(String string, const CharType* c |
} |
if (numLeadingSpaces == length) |
- return string.isNull() ? string : emptyAtom.string(); |
+ return string.isNull() ? string : emptyAtom.getString(); |
for (; numTrailingSpaces < length; ++numTrailingSpaces) { |
if (isNotHTMLSpace<CharType>(characters[length - numTrailingSpaces - 1])) |
@@ -70,7 +70,7 @@ String stripLeadingAndTrailingHTMLSpaces(const String& string) |
unsigned length = string.length(); |
if (!length) |
- return string.isNull() ? string : emptyAtom.string(); |
+ return string.isNull() ? string : emptyAtom.getString(); |
if (string.is8Bit()) |
return stripLeadingAndTrailingHTMLSpaces<LChar>(string, string.characters8(), length); |