| Index: third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.html b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.html
|
| index 9afa1da353ab286614f8efc7c6fd171da7d5d8ba..493b680521841e47006b79533c91259400370c8d 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.html
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.html
|
| @@ -12,13 +12,13 @@ function test() {
|
| items[i].style.height = (heights[i] = (i % 4) ? 50 : 28) + "px";
|
| items[i].textContent = i;
|
| }
|
| - var viewport = new WebInspector.StaticViewportControl({
|
| + var viewport = new UI.StaticViewportControl({
|
| fastItemHeight: i => heights[i],
|
| itemCount: _ => items.length,
|
| itemElement: i => items[i]
|
| });
|
| viewport.element.style.height = "300px";
|
| - WebInspector.inspectorView.element.appendChild(viewport.element);
|
| + UI.inspectorView.element.appendChild(viewport.element);
|
|
|
| viewport.refresh();
|
| dumpViewport();
|
|
|