Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / ui / SidebarPane.js
index bccc35e..23af2ee 100644 (file)
@@ -29,6 +29,7 @@
 /**
  * @constructor
  * @extends {WebInspector.View}
+ * @param {string} title
  */
 WebInspector.SidebarPane = function(title)
 {
@@ -36,7 +37,7 @@ WebInspector.SidebarPane = function(title)
     this.setMinimumSize(25, 0);
     this.element.className = "sidebar-pane"; // Override
 
-    this.titleElement = document.createElementWithClass("div", "sidebar-pane-toolbar");
+    this.titleElement = createElementWithClass("div", "sidebar-pane-toolbar");
     this.bodyElement = this.element.createChild("div", "body");
     this._title = title;
     this._expandCallback = null;