Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(590)

Unified Diff: third_party/WebKit/Source/core/dom/ContainerNode.cpp

Issue 1995203002: Rewrite Shadow DOM distribution engine to support partial synchronous distribution for v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wip Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/ContainerNode.cpp
diff --git a/third_party/WebKit/Source/core/dom/ContainerNode.cpp b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
index fd9000a7ee2150435c2aef889cb4c43c3900c738..92dd48ea63803ca9a981883f567ba28788e4c30b 100644
--- a/third_party/WebKit/Source/core/dom/ContainerNode.cpp
+++ b/third_party/WebKit/Source/core/dom/ContainerNode.cpp
@@ -693,6 +693,9 @@ void ContainerNode::notifyNodeInserted(Node& root, ChildrenChangeSource source)
#endif
DCHECK(!root.isShadowRoot());
+ if (document().containsV1ShadowTree())
+ root.checkSlotChangeAfterInserted();
+
InspectorInstrumentation::didInsertDOMNode(&root);
NodeVector postInsertionNotificationTargets;

Powered by Google App Engine
This is Rietveld 408576698