| Index: Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| diff --git a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| index 524dcd0e9d26987ddaa884876dac3b352f17baa9..c94c1c361f83666a29516ad9fae183d0a85547de 100644
|
| --- a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| +++ b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
|
| @@ -35,7 +35,7 @@ void CustomElementMicrotaskDispatcher::enqueue(HTMLImportLoader* importLoader, P
|
| {
|
| ASSERT(m_phase == Quiescent || m_phase == DispatchingCallbacks);
|
| ensureMicrotaskScheduled();
|
| - if (importLoader)
|
| + if (importLoader && importLoader->microtaskQueue())
|
| importLoader->microtaskQueue()->enqueue(step);
|
| else
|
| m_resolutionAndImports->enqueue(step);
|
|
|