Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / ui / ProgressIndicator.js
index 8831be5..e937680 100644 (file)
@@ -35,8 +35,7 @@
  */
 WebInspector.ProgressIndicator = function()
 {
-    this.element = document.createElement("div");
-    this.element.className = "progress-bar-container";
+    this.element = document.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");