Index: third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.h |
diff --git a/third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.h b/third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.h |
index 8f696b9b74e6d99c9eb3787990a026b88b1dd3d7..b3857b6fa901b05bffd0ece353311c3d3dd34c23 100644 |
--- a/third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.h |
+++ b/third_party/WebKit/Source/core/dom/NodeChildRemovalTracker.h |
@@ -66,7 +66,7 @@ inline NodeChildRemovalTracker::~NodeChildRemovalTracker() |
inline bool NodeChildRemovalTracker::isBeingRemoved(Node* node) |
{ |
for (NodeChildRemovalTracker* removal = s_last; removal; removal = removal->previous()) { |
- if (removal->node().containsIncludingShadowDOM(node)) |
+ if (removal->node().isShadowIncludingInclusiveAncestorOf(node)) |
return true; |
} |