diff options
Diffstat (limited to 'WebCore/inspector/front-end/ProfileView.js')
-rw-r--r-- | WebCore/inspector/front-end/ProfileView.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/WebCore/inspector/front-end/ProfileView.js b/WebCore/inspector/front-end/ProfileView.js index 817f1f5..c325bf7 100644 --- a/WebCore/inspector/front-end/ProfileView.js +++ b/WebCore/inspector/front-end/ProfileView.js @@ -94,8 +94,7 @@ WebInspector.CPUProfileView = function(profile) self._updatePercentButton(); } - var callId = WebInspector.Callback.wrap(profileCallback); - InspectorBackend.getProfile(callId, this.profile.uid); + InspectorBackend.getProfile(this.profile.typeId, this.profile.uid, profileCallback); } WebInspector.CPUProfileView.prototype = { @@ -611,7 +610,7 @@ WebInspector.CPUProfileType.prototype = { createSidebarTreeElementForProfile: function(profile) { - return new WebInspector.ProfileSidebarTreeElement(profile); + return new WebInspector.ProfileSidebarTreeElement(profile, WebInspector.UIString("Profile %d"), "profile-sidebar-tree-item"); }, createView: function(profile) |