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

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: Address comments 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..4cd72e2258b945f548bc1da6473a410168804841 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.Revealer.reveal(recordedProfile);
}
ProfilerAgent.stop(didStopProfiling.bind(this));
},

Powered by Google App Engine
This is Rietveld 408576698