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

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: 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
Index: Source/core/dom/ScriptableDocumentParser.h
diff --git a/Source/core/dom/ScriptableDocumentParser.h b/Source/core/dom/ScriptableDocumentParser.h
index 70773013d9ebe03ad58abc5fefe2d61d3bd779a7..80d10b8f85902d4734416ab9fc202341d72ce609 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 hasLineNumber() const = 0;
rmcilroy 2014/12/12 14:18:31 Maybe isParsingAtLineNumber or similar to be expli
pfeldman 2014/12/12 17:21:06 Done.
virtual OrdinalNumber lineNumber() const = 0;
virtual TextPosition textPosition() const = 0;

Powered by Google App Engine
This is Rietveld 408576698