Index: Source/core/dom/EventContext.h |
diff --git a/Source/core/dom/EventContext.h b/Source/core/dom/EventContext.h |
index 748fff0eeb8b8cf807d7a65d41a60167fb124a81..4d15ece627f91ae2b21cd83017f648659ad54ed7 100644 |
--- a/Source/core/dom/EventContext.h |
+++ b/Source/core/dom/EventContext.h |
@@ -112,7 +112,7 @@ inline TouchEventContext* toTouchEventContext(EventContext* eventContext) |
inline bool EventContext::isUnreachableNode(EventTarget* target) |
{ |
// FIXME: Checks also for SVG elements. |
- return target && target->toNode() && !target->toNode()->isSVGElement() && !target->toNode()->treeScope().isInclusiveAncestorOf(m_node->treeScope()); |
+ return target && target->toNode() && !target->toNode()->isSVGElement() && !target->toNode()->treeScope()->isInclusiveAncestorOf(m_node->treeScope()); |
} |
#endif |