Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index 43ee0a17952067dda10ab4ada869d4649d81f2a6..cea707e62a1aa4fc489a667c7e9efcc577f5d097 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -279,7 +279,7 @@ void HTMLAnchorElement::parseAttribute(const QualifiedName& name, const AtomicSt |
setIsLink(!value.isNull()); |
if (wasLink != isLink()) { |
didAffectSelector(AffectedSelectorLink | AffectedSelectorVisited | AffectedSelectorEnabled); |
- if (wasLink && treeScope().adjustedFocusedElement() == this) { |
+ if (wasLink && treeScope()->adjustedFocusedElement() == this) { |
// We might want to call blur(), but it's dangerous to dispatch |
// events here. |
document().setNeedsFocusedElementCheck(); |