| Index: sky/engine/core/dom/TreeScope.cpp
|
| diff --git a/sky/engine/core/dom/TreeScope.cpp b/sky/engine/core/dom/TreeScope.cpp
|
| index b9d07ed4d26e957c66349dc00506435ac88d3ef1..0593fa03d7e41b0174deba2a230962c3ab4c748c 100644
|
| --- a/sky/engine/core/dom/TreeScope.cpp
|
| +++ b/sky/engine/core/dom/TreeScope.cpp
|
| @@ -368,23 +368,6 @@ bool TreeScope::isInclusiveAncestorOf(const TreeScope& scope) const
|
| return false;
|
| }
|
|
|
| -Element* TreeScope::getElementByAccessKey(const String& key) const
|
| -{
|
| - if (key.isEmpty())
|
| - return 0;
|
| - Element* result = 0;
|
| - Node& root = rootNode();
|
| - for (Element* element = ElementTraversal::firstWithin(root); element; element = ElementTraversal::next(*element, &root)) {
|
| - if (equalIgnoringCase(element->getAttribute(HTMLNames::accesskeyAttr), key))
|
| - result = element;
|
| - if (ShadowRoot* shadowRoot = element->shadowRoot()) {
|
| - if (Element* shadowResult = shadowRoot->getElementByAccessKey(key))
|
| - result = shadowResult;
|
| - }
|
| - }
|
| - return result;
|
| -}
|
| -
|
| void TreeScope::setNeedsStyleRecalcForViewportUnits()
|
| {
|
| for (Element* element = ElementTraversal::firstWithin(rootNode()); element; element = ElementTraversal::next(*element)) {
|
|
|