Index: third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatter.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatter.js b/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatter.js |
index b9314fc0fbd96e1262172a38923d35244b7d9d14..66a93a7eb318e14d6140258932d0dd9ac99d6c1c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatter.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sources/ScriptFormatter.js |
@@ -110,7 +110,7 @@ WebInspector.ScriptFormatter.prototype = { |
var originalContent = this._originalContent; |
var formattedContent = event.data.content; |
var mapping = event.data["mapping"]; |
- var sourceMapping = new WebInspector.FormatterSourceMappingImpl(originalContent.lineEndings(), formattedContent.lineEndings(), mapping); |
+ var sourceMapping = new WebInspector.FormatterSourceMappingImpl(originalContent.computeLineEndings(), formattedContent.computeLineEndings(), mapping); |
this._callback(formattedContent, sourceMapping); |
} |
} |