Index: Source/core/html/imports/LinkImport.cpp |
diff --git a/Source/core/html/imports/LinkImport.cpp b/Source/core/html/imports/LinkImport.cpp |
index 18751a425335333845d7f6996900c2c72e738809..caaf812e0f83ed40f0ce42691cda56fcac2302d9 100644 |
--- a/Source/core/html/imports/LinkImport.cpp |
+++ b/Source/core/html/imports/LinkImport.cpp |
@@ -105,9 +105,7 @@ void LinkImport::didFinish() |
{ |
if (!m_owner || !m_owner->inDocument()) |
return; |
- // Because didFinish() is called from import's own scheduler in HTMLImportsController, |
- // we don't need to scheduleEvent() here. |
- m_owner->dispatchEventImmediately(); |
+ m_owner->scheduleEvent(); |
} |
void LinkImport::importChildWasDestroyed(HTMLImportChild* child) |