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

Unified Diff: third_party/WebKit/Source/core/dom/custom/CustomElement.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/custom/CustomElement.cpp
diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
index b85a3e43790934570de9a2cfeee71bf4e6c6b83d..36d0f12be68e4ffcb9e106e60a4ac86b24fe746c 100644
--- a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
+++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
@@ -70,7 +70,7 @@ static inline bool isValidNCName(const AtomicString& name)
if (kNotFound != name.find(':'))
return false;
- if (!name.string().is8Bit()) {
+ if (!name.getString().is8Bit()) {
const UChar32 c = name.characters16()[0];
// These characters comes under CombiningChar in NCName and according to
// NCName only BaseChar and Ideodgraphic can come as first chars.
@@ -80,7 +80,7 @@ static inline bool isValidNCName(const AtomicString& name)
return false;
}
- return Document::isValidName(name.string());
+ return Document::isValidName(name.getString());
}
bool CustomElement::isValidName(const AtomicString& name, NameSet validNames)

Powered by Google App Engine
This is Rietveld 408576698