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

Unified Diff: Source/devtools/front_end/sources/FilteredItemSelectionDialog.js

Issue 459833002: Revert of Revert of DevTools: Introduce module initializers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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: Source/devtools/front_end/sources/FilteredItemSelectionDialog.js
diff --git a/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js b/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js
index e1551e5f91151e6ed89e31d6da591383198478c3..a90c9e1f42b0c2ea33be2eff9c370fffef8145e3 100644
--- a/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js
+++ b/Source/devtools/front_end/sources/FilteredItemSelectionDialog.js
@@ -535,7 +535,7 @@
this._functionItems = [];
this._selectItemCallback = selectItemCallback;
- this._outlineWorker = new Worker("script_formatter_worker/ScriptFormatterWorker.js");
+ this._outlineWorker = Runtime.startWorker("script_formatter_worker");
this._outlineWorker.onmessage = this._didBuildOutlineChunk.bind(this);
this._outlineWorker.postMessage({ method: "javaScriptOutline", params: { content: uiSourceCode.workingCopy() } });
}
« no previous file with comments | « Source/devtools/front_end/source_frame/module.json ('k') | Source/devtools/front_end/sources/ScriptFormatter.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698