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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js

Issue 2625873003: DevTools: Move history handling into FilteredListWidget from the delegate (Closed)
Patch Set: Fix test Created 3 years, 11 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/sources/JavaScriptOutlineDialog.js
diff --git a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js
index c42734daa5f651acde756a039e4c336b9956173b..413513fab2797b075b1a117ea9a2afdc660ace7b 100644
--- a/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js
+++ b/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptOutlineDialog.js
@@ -13,7 +13,7 @@ Sources.JavaScriptOutlineDialog = class extends QuickOpen.FilteredListWidget.Del
* @param {function(number, number)} selectItemCallback
*/
constructor(uiSourceCode, selectItemCallback) {
- super([]);
+ super();
this._functionItems = [];
this._selectItemCallback = selectItemCallback;

Powered by Google App Engine
This is Rietveld 408576698