Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js |
index 05920c6884c57bc23c2744ce935c00b74e8b46ad..c1b4c09ad817ac8ec93cff0dc7086f29af16b8bb 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/list-control-fixed-height.js |
@@ -32,7 +32,7 @@ class Delegate { |
var delegate = new Delegate(); |
var list = new UI.ListControl(delegate); |
-list.setHeightMode(UI.ListHeightMode.Fixed); |
+list.setMode(UI.ListMode.ViewportFixedItems); |
list.element.style.height = '73px'; |
UI.inspectorView.element.appendChild(list.element); |
@@ -139,7 +139,7 @@ dumpList(); |
TestRunner.addResult('Changing the item height, switching to measure'); |
delegate.height = 15; |
-list.setHeightMode(UI.ListHeightMode.Measured); |
+list.setMode(UI.ListMode.ViewportFixedItemsMeasured); |
dumpList(); |
TestRunner.addResult('Selecting 7'); |