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