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

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

Issue 798963002: Only populate line number in case parsing synchronously. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: deleted custom mac expectation Created 6 years 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/fetch/ResourceFetcher.cpp ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLDocumentParser.h
diff --git a/Source/core/html/parser/HTMLDocumentParser.h b/Source/core/html/parser/HTMLDocumentParser.h
index 138c1ed8a0addb43a4b41936c1695caa4d58d23d..0cd4e4d40bb794005a07f545a3e6bf598daba3a6 100644
--- a/Source/core/html/parser/HTMLDocumentParser.h
+++ b/Source/core/html/parser/HTMLDocumentParser.h
@@ -84,6 +84,7 @@ public:
HTMLTokenizer* tokenizer() const { return m_tokenizer.get(); }
virtual TextPosition textPosition() const override final;
+ virtual bool isParsingAtLineNumber() const override final;
virtual OrdinalNumber lineNumber() const override final;
virtual void suspendScheduledTasks() override final;
@@ -203,6 +204,7 @@ private:
bool m_tasksWereSuspended;
unsigned m_pumpSessionNestingLevel;
unsigned m_pumpSpeculationsSessionNestingLevel;
+ bool m_isParsingAtLineNumber;
};
}
« no previous file with comments | « Source/core/fetch/ResourceFetcher.cpp ('k') | Source/core/html/parser/HTMLDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698