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

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

Issue 1823863002: Simplify parsing/loading state, attempt #2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 4 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
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 513e130d79219ad81b2add126974acce83d9dd84..8849292e328656ff2900ea1bf28e082d243d6158 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.h
@@ -110,8 +110,6 @@ public:
void flush() final;
void setDecoder(PassOwnPtr<TextResourceDecoder>) final;
- UseCounter* useCounter() { return UseCounter::getFrom(contextForParsingSession()); }
-
protected:
void insert(const SegmentedString&) final;
void append(const String&) override;
@@ -133,7 +131,6 @@ private:
// DocumentParser
void detach() final;
bool hasInsertionPoint() final;
- bool processingData() const final;
void prepareToStopParsing() final;
void stopParsing() final;
bool isWaitingForScripts() const final;
@@ -153,8 +150,6 @@ private:
size_t processParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>);
void pumpPendingSpeculations();
- Document* contextForParsingSession();
-
bool canTakeNextToken();
void pumpTokenizer();
void pumpTokenizerIfPossible();

Powered by Google App Engine
This is Rietveld 408576698