| Index: third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| index 83ea081e5c28ee8f238f89efccea556ac7a1932e..d27be1a10caf1835321b96d193b2da0335c40918 100644
|
| --- a/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/custom/CustomElement.cpp
|
| @@ -214,12 +214,13 @@ void CustomElement::enqueueDisconnectedCallback(Element* element)
|
| definition->enqueueDisconnectedCallback(element);
|
| }
|
|
|
| -void CustomElement::enqueueAdoptedCallback(Element* element)
|
| +void CustomElement::enqueueAdoptedCallback(
|
| + Element* element, Document* oldOwner, Document* newOwner)
|
| {
|
| DCHECK_EQ(element->getCustomElementState(), CustomElementState::Custom);
|
| CustomElementDefinition* definition = definitionForElementWithoutCheck(*element);
|
| if (definition->hasAdoptedCallback())
|
| - definition->enqueueAdoptedCallback(element);
|
| + definition->enqueueAdoptedCallback(element, oldOwner, newOwner);
|
| }
|
|
|
| void CustomElement::enqueueAttributeChangedCallback(Element* element,
|
|
|