| Index: Source/core/html/imports/HTMLImportChild.cpp
|
| diff --git a/Source/core/html/imports/HTMLImportChild.cpp b/Source/core/html/imports/HTMLImportChild.cpp
|
| index 78bcdc1f052976603139429a1ae55da995c33d77..6039872dedd0d54c9aad2020012853434409fcd9 100644
|
| --- a/Source/core/html/imports/HTMLImportChild.cpp
|
| +++ b/Source/core/html/imports/HTMLImportChild.cpp
|
| @@ -35,6 +35,7 @@
|
| #include "core/dom/custom/CustomElement.h"
|
| #include "core/dom/custom/CustomElementMicrotaskDispatcher.h"
|
| #include "core/dom/custom/CustomElementMicrotaskImportStep.h"
|
| +#include "core/dom/custom/CustomElementMicrotaskQueue.h"
|
| #include "core/html/imports/HTMLImportChildClient.h"
|
| #include "core/html/imports/HTMLImportLoader.h"
|
| #include "core/html/imports/HTMLImportsController.h"
|
| @@ -181,7 +182,7 @@ void HTMLImportChild::shareLoader()
|
|
|
| bool HTMLImportChild::isDone() const
|
| {
|
| - return m_loader && m_loader->isDone() && !m_loader->microtaskQueue()->needsProcessOrStop() && !m_customElementMicrotaskStep;
|
| + return m_loader && m_loader->isDone() && m_loader->microtaskQueue()->isEmpty() && !m_customElementMicrotaskStep;
|
| }
|
|
|
| bool HTMLImportChild::loaderHasError() const
|
|
|