Index: Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp |
diff --git a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp |
index d7f8ae346316e2d213a634c9a9591fb8470e36b2..11f7417cd720192a0812712e4a3d5e6cda8aca98 100644 |
--- a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp |
+++ b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp |
@@ -63,7 +63,7 @@ void CustomElementMicrotaskImportStep::parentWasChanged() |
bool CustomElementMicrotaskImportStep::shouldWaitForImport() const |
{ |
- return m_import && !m_import->isLoaded(); |
+ return m_import && !m_import->loader()->isDone(); |
} |
void CustomElementMicrotaskImportStep::didUpgradeAllCustomElements() |