| Index: third_party/WebKit/Source/core/events/TreeScopeEventContext.h
|
| diff --git a/third_party/WebKit/Source/core/events/TreeScopeEventContext.h b/third_party/WebKit/Source/core/events/TreeScopeEventContext.h
|
| index 217292a7374c1d8cd6ba65dc43e2b492086669f9..cfc3304217d06e02cfe26f4fe4522f54bc5ad28f 100644
|
| --- a/third_party/WebKit/Source/core/events/TreeScopeEventContext.h
|
| +++ b/third_party/WebKit/Source/core/events/TreeScopeEventContext.h
|
| @@ -103,7 +103,7 @@ private:
|
| inline bool TreeScopeEventContext::isUnreachableNode(EventTarget& target)
|
| {
|
| // FIXME: Checks also for SVG elements.
|
| - return target.toNode() && !target.toNode()->isSVGElement() && !target.toNode()->treeScope().isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(treeScope());
|
| + return target.toNode() && !target.toNode()->isSVGElement() && !target.toNode()->treeScopeOrDocument().isInclusiveOlderSiblingShadowRootOrAncestorTreeScopeOf(treeScope());
|
| }
|
| #endif
|
|
|
|
|