Index: Source/devtools/front_end/ui/TabbedPane.js |
diff --git a/Source/devtools/front_end/ui/TabbedPane.js b/Source/devtools/front_end/ui/TabbedPane.js |
index de7efc4ad6d35ca1cde3bbaf7ba3473061423684..77522d621aeec4a64eccbcfd4136e8d40d2d108e 100644 |
--- a/Source/devtools/front_end/ui/TabbedPane.js |
+++ b/Source/devtools/front_end/ui/TabbedPane.js |
@@ -520,7 +520,7 @@ WebInspector.TabbedPane.prototype = { |
_createDropDownButton: function() |
{ |
- var dropDownContainer = document.createElementWithClass("div", "tabbed-pane-header-tabs-drop-down-container"); |
+ var dropDownContainer = createElementWithClass("div", "tabbed-pane-header-tabs-drop-down-container"); |
var dropDownButton = dropDownContainer.createChild("div", "tabbed-pane-header-tabs-drop-down"); |
dropDownButton.createTextChild("\u00bb"); |
@@ -926,7 +926,7 @@ WebInspector.TabbedPaneTab.prototype = { |
_createIconElement: function(tabElement, titleElement) |
{ |
- var iconElement = document.createElementWithClass("span", "tabbed-pane-header-tab-icon " + this._iconClass); |
+ var iconElement = createElementWithClass("span", "tabbed-pane-header-tab-icon " + this._iconClass); |
if (this._iconTooltip) |
iconElement.title = this._iconTooltip; |
tabElement.insertBefore(iconElement, titleElement); |
@@ -939,7 +939,7 @@ WebInspector.TabbedPaneTab.prototype = { |
*/ |
_createTabElement: function(measuring) |
{ |
- var tabElement = document.createElementWithClass("div", "tabbed-pane-header-tab"); |
+ var tabElement = createElementWithClass("div", "tabbed-pane-header-tab"); |
tabElement.id = "tab-" + this._id; |
tabElement.tabIndex = -1; |
tabElement.selectTabForTest = this._tabbedPane.selectTab.bind(this._tabbedPane, this.id, true); |