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

Unified Diff: Source/core/xml/parser/XMLDocumentParser.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/xml/parser/XMLDocumentParser.h
diff --git a/Source/core/xml/parser/XMLDocumentParser.h b/Source/core/xml/parser/XMLDocumentParser.h
index 75b30e78ead7fe8084b298b92d3c8d140f6e24f1..1c8370616fe2acb91ff06c612a45dadd6c6a50c8 100644
--- a/Source/core/xml/parser/XMLDocumentParser.h
+++ b/Source/core/xml/parser/XMLDocumentParser.h
@@ -113,6 +113,7 @@ private:
virtual bool isWaitingForScripts() const override;
virtual void stopParsing() override;
virtual void detach() override;
+ virtual bool hasLineNumber() const override;
virtual OrdinalNumber lineNumber() const override;
OrdinalNumber columnNumber() const;

Powered by Google App Engine
This is Rietveld 408576698