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

Unified Diff: sky/engine/core/html/parser/HTMLDocumentParser.h

Issue 814173005: The Sky parser should yield before start tags (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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: sky/engine/core/html/parser/HTMLDocumentParser.h
diff --git a/sky/engine/core/html/parser/HTMLDocumentParser.h b/sky/engine/core/html/parser/HTMLDocumentParser.h
index 759abbbcedc4a7420900195128b576145e6e7504..6c7499f3584fa8c0cfa387817ce6814d62652597 100644
--- a/sky/engine/core/html/parser/HTMLDocumentParser.h
+++ b/sky/engine/core/html/parser/HTMLDocumentParser.h
@@ -86,7 +86,7 @@ public:
void stopParsing() override final;
bool isWaitingForScripts() const override final;
bool isExecutingScript() const override final;
- void executeScriptsWaitingForResources() override final;
+ void resumeAfterWaitingForImports() override final;
UseCounter* useCounter() { return UseCounter::getFrom(contextForParsingSession()); }
@@ -97,9 +97,7 @@ private:
bool hasInsertionPoint();
- void startBackgroundParser();
void stopBackgroundParser();
- void validateSpeculations(PassOwnPtr<ParsedChunk> lastChunk);
void processParsedChunkFromBackgroundParser(PassOwnPtr<ParsedChunk>);
void pumpPendingSpeculations();
@@ -109,7 +107,6 @@ private:
void constructTreeFromCompactHTMLToken(const CompactHTMLToken&);
void runScriptsForPausedTreeBuilder();
- void resumeParsingAfterScriptExecution();
void attemptToEnd();
void endIfDelayed();
« no previous file with comments | « sky/engine/core/html/parser/BackgroundHTMLParser.cpp ('k') | sky/engine/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698