diff options
Diffstat (limited to 'WebCore/dom/ScriptElement.cpp')
-rw-r--r-- | WebCore/dom/ScriptElement.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/dom/ScriptElement.cpp b/WebCore/dom/ScriptElement.cpp index dab8f8c..0262e48 100644 --- a/WebCore/dom/ScriptElement.cpp +++ b/WebCore/dom/ScriptElement.cpp @@ -24,6 +24,7 @@ #include "config.h" #include "ScriptElement.h" +#include "AsyncScriptRunner.h" #include "CachedScript.h" #include "DocLoader.h" #include "Document.h" @@ -246,7 +247,7 @@ void ScriptElementData::execute(CachedScript* cachedScript) void ScriptElementData::notifyFinished(CachedResource* o) { ASSERT_UNUSED(o, o == m_cachedScript); - m_element->document()->executeScriptSoon(this, m_cachedScript); + m_element->document()->asyncScriptRunner()->executeScriptSoon(this, m_cachedScript); m_cachedScript = 0; } |