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

Unified Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineHistoryManager.js

Issue 2916743002: [DevTools] Introduce Common.List used as a backend for list controls (Closed)
Patch Set: Created 3 years, 7 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/timeline/TimelineHistoryManager.js
diff --git a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineHistoryManager.js b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineHistoryManager.js
index 68ffb79f8765752401a1202bf9a1d7694d8acc41..4b06853a7786324e9ffc911d3b327ec70e339af4 100644
--- a/third_party/WebKit/Source/devtools/front_end/timeline/TimelineHistoryManager.js
+++ b/third_party/WebKit/Source/devtools/front_end/timeline/TimelineHistoryManager.js
@@ -255,7 +255,7 @@ Timeline.TimelineHistoryManager.DropDown = class {
this._listControl = new UI.ListControl(this, UI.ListMode.NonViewport);
this._listControl.element.addEventListener('mousemove', this._onMouseMove.bind(this), false);
- this._listControl.replaceAllItems(models);
+ this._listControl.source().replaceAllItems(models);
contentElement.appendChild(this._listControl.element);
contentElement.addEventListener('keydown', this._onKeyDown.bind(this), false);

Powered by Google App Engine
This is Rietveld 408576698