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

Unified Diff: Source/core/dom/Document.cpp

Issue 1313013005: Add a test that we resume commits after inserting the body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove extra incs. Created 5 years, 4 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
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index f2929f0eb0859debabec50951d240a1dfae0d4b2..f8bd4142e83a85e9bfddcf4d46d5f3c8621df315 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -2381,6 +2381,9 @@ PassRefPtrWillBeRawPtr<DocumentParser> Document::implicitOpen(ParserSynchronizat
setCompatibilityMode(NoQuirksMode);
+ if (frameHost() && frameHost()->chromeClient().disableThreadedParsingForUnitTests())
+ parserSyncPolicy = ForceSynchronousParsing;
+
m_parserSyncPolicy = parserSyncPolicy;
m_parser = createParser();
setParsingState(Parsing);
« no previous file with comments | « no previous file | Source/core/loader/DocumentLoader.cpp » ('j') | Source/web/tests/DocumentLoadingRenderingTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698