Index: third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js |
index 64d823919bc8be9dbc5301f4a94f1a65bccc6b7b..0a3698883569956dec499f6d4bd092ab4c349a6a 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js |
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/SourceMap.js |
@@ -207,13 +207,13 @@ WebInspector.TextSourceMap.load = function(sourceMapURL, compiledURL) |
} |
if (content.slice(0, 3) === ")]}") |
- content = content.substring(content.indexOf('\n')); |
+ content = content.substring(content.indexOf("\n")); |
try { |
var payload = /** @type {!SourceMapV3} */ (JSON.parse(content)); |
var baseURL = sourceMapURL.startsWith("data:") ? compiledURL : sourceMapURL; |
callback(new WebInspector.TextSourceMap(compiledURL, baseURL, payload)); |
- } catch(e) { |
+ } catch (e) { |
console.error(e); |
WebInspector.console.error("Failed to parse SourceMap: " + sourceMapURL); |
callback(null); |