Index: third_party/WebKit/Source/devtools/front_end/es_tree/AcornTokenizer.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/es_tree/AcornTokenizer.js b/third_party/WebKit/Source/devtools/front_end/es_tree/AcornTokenizer.js |
index 3516911bf5b54153710f71cc0c733f92509ec2b7..f0755fc04fbfe1265858b4010fee946fafdb477f 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/es_tree/AcornTokenizer.js |
+++ b/third_party/WebKit/Source/devtools/front_end/es_tree/AcornTokenizer.js |
@@ -11,7 +11,7 @@ WebInspector.AcornTokenizer = function(content) |
this._content = content; |
this._comments = []; |
this._tokenizer = acorn.tokenizer(this._content, { ecmaVersion: 6, onComment: this._comments }); |
- this._lineEndings = this._content.lineEndings(); |
+ this._lineEndings = this._content.computeLineEndings(); |
this._lineNumber = 0; |
this._tokenLineStart = 0; |
this._tokenLineEnd = 0; |