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

Unified Diff: third_party/WebKit/Source/core/css/CSSSelector.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/css/CSSSelector.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.cpp b/third_party/WebKit/Source/core/css/CSSSelector.cpp
index c69db5ad739a79b7b965facaaf3734d1a840534c..0ea6dcc4fa17c71d68359b71f4b5141de1634fba 100644
--- a/third_party/WebKit/Source/core/css/CSSSelector.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSelector.cpp
@@ -403,7 +403,7 @@ static CSSSelector::PseudoType nameToPseudoType(const AtomicString& name, bool h
}
NameToPseudoStruct dummyKey = { 0, CSSSelector::PseudoUnknown };
const NameToPseudoStruct* match = std::lower_bound(pseudoTypeMap, pseudoTypeMapEnd, dummyKey, NameToPseudoCompare(name));
- if (match == pseudoTypeMapEnd || match->string != name.string())
+ if (match == pseudoTypeMapEnd || match->string != name.getString())
return CSSSelector::PseudoUnknown;
return static_cast<CSSSelector::PseudoType>(match->type);
@@ -595,7 +595,7 @@ String CSSSelector::selectorText(const String& rightSide) const
if (tagQName().prefix().isNull()) {
str.append(tagQName().localName());
} else {
- str.append(tagQName().prefix().string());
+ str.append(tagQName().prefix().getString());
str.append('|');
str.append(tagQName().localName());
}

Powered by Google App Engine
This is Rietveld 408576698