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

Unified Diff: Source/devtools/front_end/profiler/CPUProfileView.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: Source/devtools/front_end/profiler/CPUProfileView.js
diff --git a/Source/devtools/front_end/profiler/CPUProfileView.js b/Source/devtools/front_end/profiler/CPUProfileView.js
index 237942e76572fff502d56843c82a4a01ef8c583d..5479eca2e1dc5e176d67314e517f6d11bc708c77 100644
--- a/Source/devtools/front_end/profiler/CPUProfileView.js
+++ b/Source/devtools/front_end/profiler/CPUProfileView.js
@@ -646,7 +646,7 @@ WebInspector.CPUProfileType.prototype = {
this._profileBeingRecorded.updateStatus("");
var recordedProfile = this._profileBeingRecorded;
this._profileBeingRecorded = null;
- WebInspector.panels.profiles.showProfile(recordedProfile);
+ WebInspector.inspectorView.panel("profiles").showProfile(recordedProfile);
pfeldman 2014/05/06 19:57:14 How does this compile? Getting rid of global acces
apavlov 2014/05/07 10:26:13 It's no different from accessing fields of WebInsp
}
ProfilerAgent.stop(didStopProfiling.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698