| Index: Source/core/dom/ContainerNodeAlgorithms.cpp
|
| diff --git a/Source/core/dom/ContainerNodeAlgorithms.cpp b/Source/core/dom/ContainerNodeAlgorithms.cpp
|
| index 59d65ed55340ad3ec3cde2bd642bd37d7b21bdf0..0235f1c3d13e460c8f3429c4669a64803ed8e8a0 100644
|
| --- a/Source/core/dom/ContainerNodeAlgorithms.cpp
|
| +++ b/Source/core/dom/ContainerNodeAlgorithms.cpp
|
| @@ -28,10 +28,20 @@
|
|
|
| #include "core/dom/Element.h"
|
| #include "core/dom/shadow/ElementShadow.h"
|
| +#include "core/dom/shadow/ShadowRoot.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
|
|
| namespace WebCore {
|
|
|
| +class ShadowRootVector : public Vector<RefPtr<ShadowRoot> > {
|
| +public:
|
| + explicit ShadowRootVector(ElementShadow* tree)
|
| + {
|
| + for (ShadowRoot* root = tree->youngestShadowRoot(); root; root = root->olderShadowRoot())
|
| + append(root);
|
| + }
|
| +};
|
| +
|
| void ChildNodeInsertionNotifier::notifyDescendantInsertedIntoDocument(ContainerNode* node)
|
| {
|
| ChildNodesLazySnapshot snapshot(node);
|
|
|