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

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: works 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..f030c70bc12a288649c4ae0220c695d1fb84a413 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
@@ -31,7 +31,7 @@ class Delegate {
var delegate = new Delegate();
var list = new UI.ListControl(delegate);
-list.setHeightMode(UI.ListHeightMode.Variable);
+list.setMode(UI.ListMode.ViewportVariableItems);
list.element.style.height = '73px';
UI.inspectorView.element.appendChild(list.element);

Powered by Google App Engine
This is Rietveld 408576698