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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector-unit/static-viewport-control.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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/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();

Powered by Google App Engine
This is Rietveld 408576698