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()) { |