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

Unified Diff: LayoutTests/http/tests/inspector/timeline-test.js

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/http/tests/inspector/timeline-test.js
diff --git a/LayoutTests/http/tests/inspector/timeline-test.js b/LayoutTests/http/tests/inspector/timeline-test.js
index a8c5796b0d87b2439133d08ee751e215ce1c977f..e66f01bd2595a03d18f343d9e050aee1e109f323 100644
--- a/LayoutTests/http/tests/inspector/timeline-test.js
+++ b/LayoutTests/http/tests/inspector/timeline-test.js
@@ -31,12 +31,12 @@ InspectorTest.timelinePropertyFormatters = {
InspectorTest.timelinePresentationModel = function()
{
- return WebInspector.panels.timeline._currentViews[0]._presentationModel;
+ return WebInspector.inspectorView.panel("timeline")._currentViews[0]._presentationModel;
}
InspectorTest.timelineModel = function()
{
- return WebInspector.panels.timeline._model;
+ return WebInspector.inspectorView.panel("timeline")._model;
}
InspectorTest.startTimeline = function(callback)
@@ -147,7 +147,7 @@ InspectorTest.printTimelineRecords = function(typeName, formatter)
InspectorTest.printTimelinePresentationRecords = function(typeName, formatter)
{
- InspectorTest.innerPrintTimelinePresentationRecords(WebInspector.panels.timeline._model.records(), typeName, formatter);
+ InspectorTest.innerPrintTimelinePresentationRecords(WebInspector.inspectorView.panel("timeline")._model.records(), typeName, formatter);
};
InspectorTest.printTimestampRecords = function(typeName, formatter)

Powered by Google App Engine
This is Rietveld 408576698