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

Unified Diff: Source/core/loader/DocumentWriter.h

Issue 646913002: Force synchronized parser for substitute main resource load marked forceSynchronousLoad. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/DocumentWriter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/DocumentWriter.h
diff --git a/Source/core/loader/DocumentWriter.h b/Source/core/loader/DocumentWriter.h
index 0c0de730ab0956a49a5e547f9349b344e324681d..710c18829776e058c3a583b12044787ad0829191 100644
--- a/Source/core/loader/DocumentWriter.h
+++ b/Source/core/loader/DocumentWriter.h
@@ -49,6 +49,7 @@ public:
void end();
+ void forceSynchronousParse();
void addData(const char* bytes, size_t length);
const AtomicString& mimeType() const { return m_decoderBuilder.mimeType(); }
@@ -68,6 +69,7 @@ private:
TextResourceDecoderBuilder m_decoderBuilder;
RefPtrWillBeMember<DocumentParser> m_parser;
+ bool m_forcedSynchronousParse;
};
} // namespace blink
« no previous file with comments | « Source/core/loader/DocumentLoader.cpp ('k') | Source/core/loader/DocumentWriter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698