Index: third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
index 013a74ed548e954b81d09d1a9a5978c645690013..e74548006ea6219402dacb1a555a086e67eb9440 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp |
@@ -189,7 +189,7 @@ void HTMLAnchorElement::parseAttribute(const QualifiedName& name, const AtomicSt |
pseudoStateChanged(CSSSelector::PseudoVisited); |
pseudoStateChanged(CSSSelector::PseudoAnyLink); |
} |
- if (wasLink && !isLink() && treeScope().adjustedFocusedElement() == this) { |
+ if (wasLink && !isLink() && adjustedFocusedElementInTreeScope() == this) { |
// We might want to call blur(), but it's dangerous to dispatch |
// events here. |
document().setNeedsFocusedElementCheck(); |