| Index: Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
|
| diff --git a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
|
| index 99f37c9c6b96ac8f9ef0da144f90b73da7c1309c..39f6bd2a10d7da687751409d43a631b23e0c67df 100644
|
| --- a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
|
| +++ b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
|
| @@ -55,6 +55,12 @@ CustomElementMicrotaskImportStep::~CustomElementMicrotaskImportStep()
|
| {
|
| }
|
|
|
| +void CustomElementMicrotaskImportStep::parentWasChanged()
|
| +{
|
| + m_queue = CustomElementMicrotaskQueue::create();
|
| + m_import.clear();
|
| +}
|
| +
|
| bool CustomElementMicrotaskImportStep::shouldWaitForImport() const
|
| {
|
| return m_import && !m_import->isLoaded();
|
|
|