Index: Source/core/dom/custom/CustomElementScheduler.cpp |
diff --git a/Source/core/dom/custom/CustomElementScheduler.cpp b/Source/core/dom/custom/CustomElementScheduler.cpp |
index d66d2135e08cdb5906257e0ed3198cf3f2d14132..02ca2f50a7bd8a8b01679b353358c4254d284062 100644 |
--- a/Source/core/dom/custom/CustomElementScheduler.cpp |
+++ b/Source/core/dom/custom/CustomElementScheduler.cpp |
@@ -84,13 +84,11 @@ CustomElementMicrotaskImportStep* CustomElementScheduler::scheduleImport(HTMLImp |
ASSERT(!import->isDone()); |
ASSERT(import->parent()); |
- OwnPtrWillBeRawPtr<CustomElementMicrotaskImportStep> step = CustomElementMicrotaskImportStep::create(import); |
- CustomElementMicrotaskImportStep* rawStep = step.get(); |
- |
// Ownership of the new step is transferred to the parent |
// processing step, or the base queue. |
- CustomElementMicrotaskDispatcher::instance().enqueue(import->parent()->loader(), step.release()); |
- |
+ OwnPtrWillBeRawPtr<CustomElementMicrotaskImportStep> step = CustomElementMicrotaskImportStep::create(import); |
+ CustomElementMicrotaskImportStep* rawStep = step.get(); |
+ CustomElementMicrotaskDispatcher::instance().enqueue(import->parent()->loader(), step.release(), import->isSync()); |
return rawStep; |
} |