Index: Source/WebCore/xml/XMLErrors.cpp |
=================================================================== |
--- Source/WebCore/xml/XMLErrors.cpp (revision 110478) |
+++ Source/WebCore/xml/XMLErrors.cpp (working copy) |
@@ -33,6 +33,7 @@ |
#include "Element.h" |
#include "Frame.h" |
#include "HTMLNames.h" |
+#include "ScopedEventQueue.h" |
#include "Text.h" |
#include <wtf/text/WTFString.h> |
@@ -115,6 +116,8 @@ |
// the normal content (the DOM tree is created manually and includes line/col info regarding |
// where the errors are located) |
+ EventQueueScope scope; |
+ |
// Create elements for display |
ExceptionCode ec = 0; |
RefPtr<Element> documentElement = m_document->documentElement(); |