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

Unified Diff: third_party/WebKit/Source/core/dom/DOMTokenList.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/dom/DOMTokenList.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMTokenList.cpp b/third_party/WebKit/Source/core/dom/DOMTokenList.cpp
index 22645cfa083755089119fdd0f8e93f652556a608..6c141157061062e7db821fecd8ef3010c6309160 100644
--- a/third_party/WebKit/Source/core/dom/DOMTokenList.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMTokenList.cpp
@@ -102,7 +102,7 @@ bool DOMTokenList::contains(const AtomicString& token, ExceptionState& exception
void DOMTokenList::add(const AtomicString& token, ExceptionState& exceptionState)
{
Vector<String> tokens;
- tokens.append(token.string());
+ tokens.append(token.getString());
add(tokens, exceptionState);
}
@@ -129,7 +129,7 @@ void DOMTokenList::add(const Vector<String>& tokens, ExceptionState& exceptionSt
void DOMTokenList::remove(const AtomicString& token, ExceptionState& exceptionState)
{
Vector<String> tokens;
- tokens.append(token.string());
+ tokens.append(token.getString());
remove(tokens, exceptionState);
}
@@ -203,7 +203,7 @@ void DOMTokenList::removeInternal(const AtomicString& token)
AtomicString DOMTokenList::addToken(const AtomicString& input, const AtomicString& token)
{
Vector<String> tokens;
- tokens.append(token.string());
+ tokens.append(token.getString());
return addTokens(input, tokens);
}
@@ -232,7 +232,7 @@ AtomicString DOMTokenList::addTokens(const AtomicString& input, const Vector<Str
AtomicString DOMTokenList::removeToken(const AtomicString& input, const AtomicString& token)
{
Vector<String> tokens;
- tokens.append(token.string());
+ tokens.append(token.getString());
return removeTokens(input, tokens);
}
« no previous file with comments | « third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698