Index: Source/core/html/shadow/HTMLShadowElement.cpp |
diff --git a/Source/core/html/shadow/HTMLShadowElement.cpp b/Source/core/html/shadow/HTMLShadowElement.cpp |
index 7c1383f7d33bce1b4df09457fdc4d8f27889ead2..aeda1deb16a339f708b5fc8bf45f105ee9cc6927 100644 |
--- a/Source/core/html/shadow/HTMLShadowElement.cpp |
+++ b/Source/core/html/shadow/HTMLShadowElement.cpp |
@@ -61,7 +61,7 @@ ShadowRoot* HTMLShadowElement::olderShadowRoot() |
if (!containingRoot) |
return 0; |
- ContentDistributor::ensureDistribution(containingRoot); |
+ containingRoot->host()->ensureDistribution(); |
ShadowRoot* older = containingRoot->olderShadowRoot(); |
if (!older || older->type() != ShadowRoot::AuthorShadowRoot || ScopeContentDistribution::assignedTo(older) != this) |