Index: third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js b/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js |
index 007e68e654979e77f00907ef094dffaeb84aa7a1..afe101d5d686f25f2261acc4f34d94bff5d0b7d2 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js |
@@ -524,8 +524,6 @@ TreeElement.prototype = { |
this._childrenListNode.insertBefore(child._childrenListNode, nextSibling); |
if (child.selected) |
child.select(); |
- if (child.expanded) |
- child.expand(); |
}, |
/** |
@@ -883,7 +881,7 @@ TreeElement.prototype = { |
expand: function() |
{ |
- if (!this._expandable || (this.expanded && this._children)) |
+ if (!this._expandable || this.expanded) |
return; |
// Set this before onpopulate. Since onpopulate can add elements, this makes |