Index: Source/devtools/front_end/timeline/CountersGraph.js |
diff --git a/Source/devtools/front_end/timeline/CountersGraph.js b/Source/devtools/front_end/timeline/CountersGraph.js |
index 203a5de8b4dd40ed91726baa67df8f6ff59af12d..8e4edbca78dee2cbf8eab367fe21416ba57927ac 100644 |
--- a/Source/devtools/front_end/timeline/CountersGraph.js |
+++ b/Source/devtools/front_end/timeline/CountersGraph.js |
@@ -525,7 +525,7 @@ WebInspector.CountersGraph.CounterUI.prototype = { |
*/ |
WebInspector.SwatchCheckbox = function(title, color) |
{ |
- this.element = document.createElement("div"); |
+ this.element = createElement("div"); |
this._swatch = this.element.createChild("div", "swatch"); |
this.element.createChild("span", "title").textContent = title; |
this._color = color; |