summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLScriptRunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLScriptRunner.cpp')
-rw-r--r--WebCore/html/HTMLScriptRunner.cpp2
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);