Index: third_party/WebKit/Source/devtools/front_end/script_formatter_worker/JavaScriptFormatter.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/JavaScriptFormatter.js b/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/JavaScriptFormatter.js |
index 6854435711da764a06b621f7d349a6f1e0ec78b3..d71d26ed3c9265ed12c2bafdfad40aca0cab4b5c 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/JavaScriptFormatter.js |
+++ b/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/JavaScriptFormatter.js |
@@ -44,7 +44,7 @@ FormatterWorker.JavaScriptFormatter.prototype = { |
format: function() |
{ |
var ast = acorn.parse(this._content, { ranges: false, ecmaVersion: 6 }); |
- var walker = new FormatterWorker.ESTreeWalker(this._beforeVisit.bind(this), this._afterVisit.bind(this)); |
+ var walker = new WebInspector.ESTreeWalker(this._beforeVisit.bind(this), this._afterVisit.bind(this)); |
walker.walk(ast); |
}, |