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/TreeScope.cpp

Issue 2811793004: Rename EqualIgnoringCase*() to DeprecatedEqualIgnoringCase*() (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/TreeScope.cpp
diff --git a/third_party/WebKit/Source/core/dom/TreeScope.cpp b/third_party/WebKit/Source/core/dom/TreeScope.cpp
index 3128ab956635f4f88ffe4ced7dea341db9e2ec41..f71ab868dcb64bad18fb41ce1b650934f399941a 100644
--- a/third_party/WebKit/Source/core/dom/TreeScope.cpp
+++ b/third_party/WebKit/Source/core/dom/TreeScope.cpp
@@ -333,7 +333,7 @@ Element* TreeScope::FindAnchor(const String& name) {
Traversal<HTMLAnchorElement>::StartsAfter(RootNode())) {
if (RootNode().GetDocument().InQuirksMode()) {
// Quirks mode, case insensitive comparison of names.
- if (EqualIgnoringCase(anchor.GetName(), name))
+ if (DeprecatedEqualIgnoringCase(anchor.GetName(), name))
return &anchor;
} else {
// Strict mode, names need to match exactly.
@@ -503,7 +503,8 @@ Element* TreeScope::GetElementByAccessKey(const String& key) const {
Element* result = nullptr;
Node& root = RootNode();
for (Element& element : ElementTraversal::DescendantsOf(root)) {
- if (EqualIgnoringCase(element.FastGetAttribute(accesskeyAttr), key))
+ if (DeprecatedEqualIgnoringCase(element.FastGetAttribute(accesskeyAttr),
+ key))
result = &element;
for (ShadowRoot* shadow_root = element.YoungestShadowRoot(); shadow_root;
shadow_root = shadow_root->OlderShadowRoot()) {
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleElement.cpp ('k') | third_party/WebKit/Source/core/editing/DOMSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698