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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-variable-height.js

Issue 2605253002: [DevTools] Add grow mode to ListControl. (Closed)
Patch Set: addressed review comments Created 4 years 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/LayoutTests/http/tests/inspector-unit/list-control-variable-height.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-variable-height.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-variable-height.js
index bc49549bc6576d24c821225e0fddfeb71a6bf330..4d3392f5b91e2db98a3e3955b5e92562e1693f44 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-variable-height.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-variable-height.js
@@ -30,8 +30,7 @@ class Delegate {
}
var delegate = new Delegate();
-var list = new UI.ListControl(delegate);
-list.setHeightMode(UI.ListHeightMode.Variable);
+var list = new UI.ListControl(delegate, UI.ListMode.ViewportVariableItems);
list.element.style.height = '73px';
UI.inspectorView.element.appendChild(list.element);

Powered by Google App Engine
This is Rietveld 408576698