Index: Source/devtools/front_end/resources/ResourcesPanel.js |
diff --git a/Source/devtools/front_end/resources/ResourcesPanel.js b/Source/devtools/front_end/resources/ResourcesPanel.js |
index 54d177534e600c468de201140db9a205af28b228..dee0ce6e9b1ec4cdd8ae5d2f5696b8db67943112 100644 |
--- a/Source/devtools/front_end/resources/ResourcesPanel.js |
+++ b/Source/devtools/front_end/resources/ResourcesPanel.js |
@@ -834,12 +834,12 @@ WebInspector.ResourcesPanel.ResourceRevealer.prototype = { |
* @param {!WebInspector.ResourcesPanel} storagePanel |
* @param {string} title |
* @param {?Array.<string>=} iconClasses |
- * @param {boolean=} hasChildren |
+ * @param {boolean=} expandable |
* @param {boolean=} noIcon |
*/ |
-WebInspector.BaseStorageTreeElement = function(storagePanel, title, iconClasses, hasChildren, noIcon) |
+WebInspector.BaseStorageTreeElement = function(storagePanel, title, iconClasses, expandable, noIcon) |
{ |
- TreeElement.call(this, "", hasChildren); |
+ TreeElement.call(this, "", expandable); |
this._storagePanel = storagePanel; |
this._titleText = title; |
this._iconClasses = iconClasses; |
@@ -1984,10 +1984,8 @@ WebInspector.IDBObjectStoreTreeElement.prototype = { |
} |
} |
- if (this.childCount()) { |
- this.hasChildren = true; |
+ if (this.childCount()) |
this.expand(); |
- } |
if (this._view) |
this._view.update(this._objectStore); |