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 a90c9e1f42b0c2ea33be2eff9c370fffef8145e3..e1551e5f91151e6ed89e31d6da591383198478c3 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 = Runtime.startWorker("script_formatter_worker"); |
+ this._outlineWorker = new Worker("script_formatter_worker/ScriptFormatterWorker.js"); |
this._outlineWorker.onmessage = this._didBuildOutlineChunk.bind(this); |
this._outlineWorker.postMessage({ method: "javaScriptOutline", params: { content: uiSourceCode.workingCopy() } }); |
} |