Index: Source/core/dom/EventPathWalker.cpp |
diff --git a/Source/core/dom/EventPathWalker.cpp b/Source/core/dom/EventPathWalker.cpp |
index b29af07092a109e805e62cff1f3aaa6d5c9470c2..a3b9760a930000bae474d5d1d847fb60567eef0d 100644 |
--- a/Source/core/dom/EventPathWalker.cpp |
+++ b/Source/core/dom/EventPathWalker.cpp |
@@ -53,7 +53,7 @@ void EventPathWalker::moveToParent() |
ASSERT(m_node); |
ASSERT(m_distributedNode); |
if (ElementShadow* shadow = shadowOfParent(m_node)) { |
- ContentDistributor::ensureDistribution(shadow->youngestShadowRoot()); |
+ shadow->host()->ensureDistribution(); |
if (InsertionPoint* insertionPoint = shadow->distributor().findInsertionPointFor(m_distributedNode)) { |
m_node = insertionPoint; |
m_isVisitingInsertionPointInReprojection = true; |