| Index: Source/devtools/front_end/HeapSnapshotView.js
|
| diff --git a/Source/devtools/front_end/HeapSnapshotView.js b/Source/devtools/front_end/HeapSnapshotView.js
|
| index bec5527f774c2ebb93b32466054967a155c21235..e0948654b6983c689e815783b69114e60e73235a 100644
|
| --- a/Source/devtools/front_end/HeapSnapshotView.js
|
| +++ b/Source/devtools/front_end/HeapSnapshotView.js
|
| @@ -86,7 +86,7 @@ WebInspector.HeapSnapshotView = function(profile)
|
| this._allocationDataGrid.show(this._allocationView.element);
|
| }
|
|
|
| - this._retainmentViewHeader = document.createElementWithClass("div", "retainers-view-header");
|
| + this._retainmentViewHeader = document.createElementWithClass("div", "heap-snapshot-view-resizer");
|
| var retainingPathsTitleDiv = this._retainmentViewHeader.createChild("div", "title");
|
| var retainingPathsTitle = retainingPathsTitleDiv.createChild("span");
|
| retainingPathsTitle.textContent = WebInspector.UIString("Object's retaining tree");
|
| @@ -375,6 +375,14 @@ WebInspector.HeapSnapshotView.AllocationPerspective = function()
|
| {
|
| WebInspector.HeapSnapshotView.Perspective.call(this, WebInspector.UIString("Allocation"));
|
| this._allocationSplitView = new WebInspector.SplitView(false, true, "heapSnapshotAllocationSplitViewState", 200, 200);
|
| +
|
| + var resizer = document.createElementWithClass("div", "heap-snapshot-view-resizer");
|
| + var title = resizer.createChild("div", "title").createChild("span");
|
| + title.textContent = WebInspector.UIString("Live objects");
|
| + this._allocationSplitView.hideDefaultResizer();
|
| + this._allocationSplitView.installResizer(resizer);
|
| +
|
| + this._allocationSplitView.sidebarElement().appendChild(resizer);
|
| }
|
|
|
| WebInspector.HeapSnapshotView.AllocationPerspective.prototype = {
|
|
|