Index: Source/devtools/front_end/profiler/ProfilesPanel.js |
diff --git a/Source/devtools/front_end/profiler/ProfilesPanel.js b/Source/devtools/front_end/profiler/ProfilesPanel.js |
index 2df95006537b07fc182366004fc2b9269e3836c5..f95f2f8dbcd6e836c810008162eef6ae2f4cd20d 100644 |
--- a/Source/devtools/front_end/profiler/ProfilesPanel.js |
+++ b/Source/devtools/front_end/profiler/ProfilesPanel.js |
@@ -449,17 +449,17 @@ WebInspector.ProfilesPanel = function() |
this.profilesItemTreeElement = new WebInspector.ProfilesSidebarTreeElement(this); |
this.sidebarTree.appendChild(this.profilesItemTreeElement); |
- this.profileViews = document.createElement("div"); |
+ this.profileViews = createElement("div"); |
this.profileViews.id = "profile-views"; |
this.profileViews.classList.add("vbox"); |
this._searchableView.element.appendChild(this.profileViews); |
- var statusBarContainer = document.createElementWithClass("div", "profiles-status-bar"); |
+ var statusBarContainer = createElementWithClass("div", "profiles-status-bar"); |
mainView.element.insertBefore(statusBarContainer, mainView.element.firstChild); |
this._statusBarElement = statusBarContainer.createChild("div", "status-bar"); |
this.sidebarElement().classList.add("profiles-sidebar-tree-box"); |
- var statusBarContainerLeft = document.createElementWithClass("div", "profiles-status-bar"); |
+ var statusBarContainerLeft = createElementWithClass("div", "profiles-status-bar"); |
this.sidebarElement().insertBefore(statusBarContainerLeft, this.sidebarElement().firstChild); |
this._statusBarButtons = statusBarContainerLeft.createChild("div", "status-bar"); |