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); |