| 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 45ced4b34388b66019f81bd8e67f46f21b3b18a3..bfc5fe5f99717407917843deb21e7b3fb6e7011b 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
|
| @@ -78,8 +78,8 @@ self.onmessage = function(event) {
|
| case 'evaluatableJavaScriptSubstring':
|
| FormatterWorker.evaluatableJavaScriptSubstring(params.content);
|
| break;
|
| - case 'relaxedJSONParser':
|
| - FormatterWorker.relaxedJSONParser(params.content);
|
| + case 'parseJSONRelaxed':
|
| + FormatterWorker.parseJSONRelaxed(params.content);
|
| break;
|
| default:
|
| console.error('Unsupport method name: ' + method);
|
| @@ -89,7 +89,7 @@ self.onmessage = function(event) {
|
| /**
|
| * @param {string} content
|
| */
|
| -FormatterWorker.relaxedJSONParser = function(content) {
|
| +FormatterWorker.parseJSONRelaxed = function(content) {
|
| postMessage(FormatterWorker.RelaxedJSONParser.parse(content));
|
| };
|
|
|
|
|