| Index: third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| index 38bb640565c3f9034fd62191e05117c794bc33b4..6ecb8e709b3ecaa5ef2ce27364f545b6cdbc9121 100644
|
| --- a/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/TreeScopeAdopter.cpp
|
| @@ -132,7 +132,7 @@ inline void TreeScopeAdopter::moveNodeToNewDocument(Node& node, Document& oldDoc
|
|
|
| if (node.getCustomElementState() == CustomElementState::Custom) {
|
| Element& element = toElement(node);
|
| - CustomElement::enqueueAdoptedCallback(&element);
|
| + CustomElement::enqueueAdoptedCallback(&element, &oldDocument, &newDocument);
|
| }
|
|
|
| if (node.isShadowRoot())
|
|
|