Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: third_party/WebKit/Source/devtools/front_end/script_formatter_worker/JavaScriptFormatter.js

Issue 1770263002: Devtools: resolve expressions in minified scripts with sourcemaps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 d71d26ed3c9265ed12c2bafdfad40aca0cab4b5c..15eab9e65fc3b44355083f4beb2c06a9fad7cae2 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
@@ -37,7 +37,7 @@ FormatterWorker.JavaScriptFormatter = function(content, builder)
{
this._content = content;
this._builder = builder;
- this._tokenizer = new FormatterWorker.AcornTokenizer(this._content);
+ this._tokenizer = new WebInspector.AcornTokenizer(this._content);
}
FormatterWorker.JavaScriptFormatter.prototype = {
@@ -118,7 +118,7 @@ FormatterWorker.JavaScriptFormatter.prototype = {
*/
_formatToken: function(node, token)
{
- var AT = FormatterWorker.AcornTokenizer;
+ var AT = WebInspector.AcornTokenizer;
if (AT.lineComment(token))
return "tn";
if (AT.blockComment(token))

Powered by Google App Engine
This is Rietveld 408576698