Index: Source/core/dom/shadow/ElementShadow.cpp |
diff --git a/Source/core/dom/shadow/ElementShadow.cpp b/Source/core/dom/shadow/ElementShadow.cpp |
index 17ee8ba1a2642dd3fcd6c558751a6490fd3d2323..696b67c7de8516f41912180e568e00b35da5bf79 100644 |
--- a/Source/core/dom/shadow/ElementShadow.cpp |
+++ b/Source/core/dom/shadow/ElementShadow.cpp |
@@ -389,7 +389,7 @@ void ElementShadow::clearDistribution() |
m_nodeToInsertionPoints.clear(); |
for (ShadowRoot* root = youngestShadowRoot(); root; root = root->olderShadowRoot()) |
- root->setShadowInsertionPointOfYoungerShadowRoot(0); |
+ root->setShadowInsertionPointOfYoungerShadowRoot(nullptr); |
} |
} // namespace |