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

Unified Diff: third_party/WebKit/Source/core/dom/QualifiedName.h

Issue 2814673002: Use ASCII-caseless matching for attribute names. (Closed)
Patch Set: . Created 3 years, 8 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/QualifiedName.h
diff --git a/third_party/WebKit/Source/core/dom/QualifiedName.h b/third_party/WebKit/Source/core/dom/QualifiedName.h
index 087ef73a931745c4e605ad74987a6c3d7008d3c0..f5f099a80ded21f7a75ded22ec469d5666565f35 100644
--- a/third_party/WebKit/Source/core/dom/QualifiedName.h
+++ b/third_party/WebKit/Source/core/dom/QualifiedName.h
@@ -135,11 +135,11 @@ class CORE_EXPORT QualifiedName {
NamespaceURI() == other.NamespaceURI());
}
- bool MatchesPossiblyIgnoringCase(const QualifiedName& other,
- bool should_ignore_case) const {
+ bool MatchesPossiblyIgnoringASCIICase(const QualifiedName& other,
+ bool should_ignore_case) const {
return impl_ == other.impl_ ||
- (EqualPossiblyIgnoringCase(LocalName(), other.LocalName(),
- should_ignore_case) &&
+ (EqualPossiblyIgnoringASCIICase(LocalName(), other.LocalName(),
+ should_ignore_case) &&
NamespaceURI() == other.NamespaceURI());
}
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/platform/wtf/text/WTFString.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698