| Index: third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js b/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
|
| index 5adeace002c9e19ace0653270d21401f5aace2bd..f9e209cd8d7b496971096bb73434c472e27e6f1e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/formatter_worker/FormatterWorker.js
|
| @@ -52,7 +52,7 @@ WebInspector.createTokenizer = function(mimeType)
|
| }
|
| }
|
| return tokenize;
|
| -}
|
| +};
|
|
|
| WebInspector.AbortTokenization = {};
|
|
|
| @@ -95,7 +95,7 @@ self.onmessage = function(event) {
|
| WebInspector.relaxedJSONParser = function(content)
|
| {
|
| postMessage(WebInspector.RelaxedJSONParser.parse(content));
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} content
|
| @@ -138,7 +138,7 @@ WebInspector.evaluatableJavaScriptSubstring = function(content)
|
| console.error(e);
|
| }
|
| postMessage(result);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} content
|
| @@ -190,7 +190,7 @@ WebInspector.javaScriptIdentifiers = function(content)
|
| walker.walk(functionNode.body);
|
| var reduced = identifiers.map(id => ({name: id.name, offset: id.start}));
|
| postMessage(reduced);
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} mimeType
|
| @@ -230,12 +230,12 @@ WebInspector.format = function(mimeType, text, indentString)
|
| result.content = text;
|
| }
|
| postMessage(result);
|
| -}
|
| +};
|
|
|
| /**
|
| * @interface
|
| */
|
| -WebInspector.FormatterWorkerContentParser = function() { }
|
| +WebInspector.FormatterWorkerContentParser = function() { };
|
|
|
| WebInspector.FormatterWorkerContentParser.prototype = {
|
| /**
|
| @@ -243,7 +243,7 @@ WebInspector.FormatterWorkerContentParser.prototype = {
|
| * @return {!Object}
|
| */
|
| parse: function(content) { }
|
| -}
|
| +};
|
|
|
| /**
|
| * @param {string} content
|
| @@ -266,4 +266,4 @@ WebInspector.FormatterWorkerContentParser.parse = function(content, mimeType)
|
| {
|
| return extension.descriptor()["mimeType"] === mimeType;
|
| }
|
| -}
|
| +};
|
|
|