| 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..ce02fff45b467e0c96a4607c229d705e9b0cc3ae 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);
|
| + this.dispatchEventToListeners(WebInspector.ProfileType.Events.ProfileComplete, recordedProfile);
|
| }
|
| ProfilerAgent.stop(didStopProfiling.bind(this));
|
| },
|
| @@ -755,11 +755,12 @@ WebInspector.CPUProfileHeader.prototype = {
|
|
|
| /**
|
| * @override
|
| + * @param {!WebInspector.ProfilesPanel} panel
|
| * @return {!WebInspector.ProfileSidebarTreeElement}
|
| */
|
| - createSidebarTreeElement: function()
|
| + createSidebarTreeElement: function(panel)
|
| {
|
| - return new WebInspector.ProfileSidebarTreeElement(this, "profile-sidebar-tree-item");
|
| + return new WebInspector.ProfileSidebarTreeElement(panel, this, "profile-sidebar-tree-item");
|
| },
|
|
|
| /**
|
|
|