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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLParserIdioms.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 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
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);

Powered by Google App Engine
This is Rietveld 408576698