diff options
Diffstat (limited to 'WebCore/html/HTMLScriptRunner.cpp')
-rw-r--r-- | WebCore/html/HTMLScriptRunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/html/HTMLScriptRunner.cpp b/WebCore/html/HTMLScriptRunner.cpp index 29790c0..f4b7013 100644 --- a/WebCore/html/HTMLScriptRunner.cpp +++ b/WebCore/html/HTMLScriptRunner.cpp @@ -154,7 +154,7 @@ void HTMLScriptRunner::executeScript(Element* element, const ScriptSourceCode& s ASSERT(scriptElement); if (!scriptElement->shouldExecuteAsJavaScript()) return; - ASSERT(inScriptExecution()); + ASSERT(isExecutingScript()); if (!m_document->frame()) return; m_document->frame()->script()->executeScript(sourceCode); |