Index: Source/devtools/front_end/ui/ProgressIndicator.js |
diff --git a/Source/devtools/front_end/ui/ProgressIndicator.js b/Source/devtools/front_end/ui/ProgressIndicator.js |
index e9376801f084f41e6479e4f516e1856bce12e949..38c9b2ed47ac5cd122e77507d9789c97439d9dbd 100644 |
--- a/Source/devtools/front_end/ui/ProgressIndicator.js |
+++ b/Source/devtools/front_end/ui/ProgressIndicator.js |
@@ -35,7 +35,7 @@ |
*/ |
WebInspector.ProgressIndicator = function() |
{ |
- this.element = document.createElementWithClass("div", "progress-bar-container"); |
+ this.element = createElementWithClass("div", "progress-bar-container"); |
this._labelElement = this.element.createChild("span"); |
this._progressElement = this.element.createChild("progress"); |
this._stopButton = new WebInspector.StatusBarButton(WebInspector.UIString("Cancel"), "progress-bar-stop-button"); |