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

Unified Diff: LayoutTests/inspector/profiler/cpu-profiler-save-load.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/profiler/cpu-profiler-save-load.html
diff --git a/LayoutTests/inspector/profiler/cpu-profiler-save-load.html b/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
index 32359c47cb48b445020bd4b2441a59626f5eea4b..4adeea0832b922a06c272a8e4b4eb013698f4eb0 100644
--- a/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
+++ b/LayoutTests/inspector/profiler/cpu-profiler-save-load.html
@@ -102,7 +102,7 @@ function test()
}
next();
}
- var profilesPanel = WebInspector.panels.profiles;
+ var profilesPanel = WebInspector.inspectorView.panel("profiles");
var profileName = file.name.substr(0, file.name.length - ".cpuprofile".length);
InspectorTest.waitUntilProfileViewIsShown(profileName, checkLoadedContent);
profilesPanel._loadFromFile(file);
@@ -111,7 +111,7 @@ function test()
{
loadedProfileData = this._jsonifiedProfile;
onTransferFinished.call(this);
- WebInspector.panels.profiles.showProfile(this);
+ WebInspector.inspectorView.panel("profiles").showProfile(this);
}
}

Powered by Google App Engine
This is Rietveld 408576698