Index: Source/devtools/front_end/profiler/HeapSnapshotView.js |
diff --git a/Source/devtools/front_end/profiler/HeapSnapshotView.js b/Source/devtools/front_end/profiler/HeapSnapshotView.js |
index c799271664fe01cc974fd1ff562f002fce220b08..a2b97119cbf09b5ea29cfb88711040b3322f36ac 100644 |
--- a/Source/devtools/front_end/profiler/HeapSnapshotView.js |
+++ b/Source/devtools/front_end/profiler/HeapSnapshotView.js |
@@ -107,7 +107,7 @@ WebInspector.HeapSnapshotView = function(dataDisplayDelegate, profile) |
splitViewResizer = this._tabbedPane.headerElement(); |
this._objectDetailsView = this._tabbedPane; |
} else { |
- var retainmentViewHeader = document.createElementWithClass("div", "heap-snapshot-view-resizer"); |
+ var retainmentViewHeader = createElementWithClass("div", "heap-snapshot-view-resizer"); |
var retainingPathsTitleDiv = retainmentViewHeader.createChild("div", "title"); |
var retainingPathsTitle = retainingPathsTitleDiv.createChild("span"); |
retainingPathsTitle.textContent = WebInspector.UIString("Retainers"); |
@@ -361,7 +361,7 @@ 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 resizer = createElementWithClass("div", "heap-snapshot-view-resizer"); |
var title = resizer.createChild("div", "title").createChild("span"); |
title.textContent = WebInspector.UIString("Live objects"); |
this._allocationSplitView.hideDefaultResizer(); |