Chromium Code Reviews| 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)); |
| }, |