diff options
Diffstat (limited to 'WebCore/html/parser/HTMLScriptRunner.cpp')
-rw-r--r-- | WebCore/html/parser/HTMLScriptRunner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/WebCore/html/parser/HTMLScriptRunner.cpp b/WebCore/html/parser/HTMLScriptRunner.cpp index 4f54f42..75db644 100644 --- a/WebCore/html/parser/HTMLScriptRunner.cpp +++ b/WebCore/html/parser/HTMLScriptRunner.cpp @@ -35,6 +35,7 @@ #include "HTMLScriptRunnerHost.h" #include "HTMLInputStream.h" #include "HTMLNames.h" +#include "IgnoreDestructiveWriteCountIncrementer.h" #include "NestingLevelIncrementer.h" #include "NotImplemented.h" #include "ScriptElement.h" @@ -135,6 +136,7 @@ void HTMLScriptRunner::executePendingScriptAndDispatchEvent(PendingScript& pendi RefPtr<Element> scriptElement = pendingScript.releaseElementAndClear(); { NestingLevelIncrementer nestingLevelIncrementer(m_scriptNestingLevel); + IgnoreDestructiveWriteCountIncrementer ignoreDestructiveWriteCountIncrementer(m_document); if (errorOccurred) scriptElement->dispatchEvent(createScriptErrorEvent()); else { |