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

Unified Diff: Source/core/dom/ScriptableDocumentParser.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/dom/Document.cpp ('k') | Source/core/dom/ScriptableDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptableDocumentParser.h
diff --git a/Source/core/dom/ScriptableDocumentParser.h b/Source/core/dom/ScriptableDocumentParser.h
index 70773013d9ebe03ad58abc5fefe2d61d3bd779a7..9754f00820140eac1c4a694425cea5d610c89fa7 100644
--- a/Source/core/dom/ScriptableDocumentParser.h
+++ b/Source/core/dom/ScriptableDocumentParser.h
@@ -45,6 +45,7 @@ public:
virtual bool isWaitingForScripts() const = 0;
// These are used to expose the current line/column to the scripting system.
+ virtual bool isParsingAtLineNumber() const;
virtual OrdinalNumber lineNumber() const = 0;
virtual TextPosition textPosition() const = 0;
« no previous file with comments | « Source/core/dom/Document.cpp ('k') | Source/core/dom/ScriptableDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698