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

Unified Diff: LayoutTests/inspector/timeline/timeline-script-tag-1.html

Issue 268293003: DevTools: Get rid of WebInspector.panels (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months 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: LayoutTests/inspector/timeline/timeline-script-tag-1.html
diff --git a/LayoutTests/inspector/timeline/timeline-script-tag-1.html b/LayoutTests/inspector/timeline/timeline-script-tag-1.html
index 66e97e2b62cd8a77ed4453add3539f2aaaaed557..e9230def59eff16d405ed653514e7f556a3a1323 100644
--- a/LayoutTests/inspector/timeline/timeline-script-tag-1.html
+++ b/LayoutTests/inspector/timeline/timeline-script-tag-1.html
@@ -35,7 +35,7 @@ function test()
var children = [];
var skipCategories = { rendering: true, painting: true };
for (var i = 0; i < record.children.length; ++i) {
- var modelRecord = new WebInspector.TimelineModel.RecordImpl(WebInspector.panels.timeline._model, record.children[i], null);
+ var modelRecord = new WebInspector.TimelineModel.RecordImpl(WebInspector.inspectorView.panel("timeline")._model, record.children[i], null);
if (!skipCategories[WebInspector.TimelineUIUtils.categoryForRecord(modelRecord).name])
children.push(record.children[i]);
}

Powered by Google App Engine
This is Rietveld 408576698