Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: Source/WebCore/xml/XMLErrors.cpp

Issue 9689032: Merge 110111 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698