summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/front-end/ProfilesPanel.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/front-end/ProfilesPanel.js')
-rw-r--r--WebCore/inspector/front-end/ProfilesPanel.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/WebCore/inspector/front-end/ProfilesPanel.js b/WebCore/inspector/front-end/ProfilesPanel.js
index 50795e8..0aa4174 100644
--- a/WebCore/inspector/front-end/ProfilesPanel.js
+++ b/WebCore/inspector/front-end/ProfilesPanel.js
@@ -123,7 +123,6 @@ WebInspector.ProfilesPanel = function()
this._profiles = [];
this._profilerEnabled = Preferences.profilerAlwaysEnabled;
- this._tempHeapSnapshots = [];
this._reset();
}
@@ -412,25 +411,6 @@ WebInspector.ProfilesPanel.prototype = {
}
},
- addHeapSnapshotChunk: function(uid, chunk)
- {
- if (this._tempHeapSnapshots[uid])
- this._tempHeapSnapshots[uid] += chunk;
- else
- this._tempHeapSnapshots[uid] = chunk;
- },
-
- finishHeapSnapshot: function(uid)
- {
- var profile =
- this._profilesIdMap[this._makeKey(uid, WebInspector.HeapSnapshotProfileType.TypeId)];
- if (profile) {
- var view = profile.__profilesPanelProfileType.viewForProfile(profile);
- view.snapshotLoaded(uid, JSON.parse(this._tempHeapSnapshots[uid]));
- }
- delete this._tempHeapSnapshots[uid];
- },
-
showView: function(view)
{
this.showProfile(view.profile);