Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-control.js |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.js b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-control.js |
similarity index 90% |
rename from third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.js |
rename to third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-control.js |
index 0b333830a7b962efd7603716536a6278768d931e..1a0b1fac00aec5da0b8a2276c38a2d65a6ffd945 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.js |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/viewport-control.js |
@@ -1,4 +1,4 @@ |
-TestRunner.addResult("This tests if the StaticViewportControl works properly."); |
+TestRunner.addResult("This tests if the ViewportControl works properly."); |
var items = []; |
var heights = []; |
@@ -7,7 +7,7 @@ for (var i = 0; i < 100; i++){ |
items[i].style.height = (heights[i] = (i % 4) ? 50 : 28) + "px"; |
items[i].textContent = i; |
} |
-var viewport = new UI.StaticViewportControl({ |
+var viewport = new UI.ViewportControl({ |
fastItemHeight: i => heights[i], |
itemCount: _ => items.length, |
itemElement: i => items[i] |