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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h

Issue 1422233002: Revert of BackgroundHTMLParser: Introduce ParsedChunkQueue to pass ParsedChunks to main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
Index: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
index 7e46c90652677155507d49c9a5d578ed628457cf..f41d9b030ae6df4aa453c51e3f5c958b9e260e48 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
@@ -60,10 +60,10 @@
class Element;
class HTMLDocument;
class HTMLParserScheduler;
-class HTMLResourcePreloader;
class HTMLScriptRunner;
class HTMLTreeBuilder;
-class ParsedChunkQueue;
+class HTMLResourcePreloader;
+
class PumpSession;
class HTMLDocumentParser : public ScriptableDocumentParser, private HTMLScriptRunnerHost {
@@ -103,7 +103,7 @@
TokenPreloadScannerCheckpoint preloadScannerCheckpoint;
bool startingScript;
};
- void notifyPendingParsedChunks();
+ void didReceiveParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>);
void didReceiveEncodingDataFromBackgroundParser(const DocumentEncodingData&);
void appendBytes(const char* bytes, size_t length) override;
@@ -202,7 +202,6 @@
WeakPtr<BackgroundHTMLParser> m_backgroundParser;
OwnPtrWillBeMember<HTMLResourcePreloader> m_preloader;
PreloadRequestStream m_queuedPreloads;
- OwnPtr<ParsedChunkQueue> m_parsedChunkQueue;
bool m_shouldUseThreading;
bool m_endWasDelayed;

Powered by Google App Engine
This is Rietveld 408576698