Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / ui / treeoutline.js
index 4b88f64..92b4e61 100644 (file)
@@ -230,7 +230,7 @@ TreeOutline.prototype.removeChildren = function()
 TreeOutline.prototype._rememberTreeElement = function(element)
 {
     if (!this._treeElementsMap.get(element.representedObject))
-        this._treeElementsMap.put(element.representedObject, []);
+        this._treeElementsMap.set(element.representedObject, []);
 
     // check if the element is already known
     var elements = this._treeElementsMap.get(element.representedObject);
@@ -713,7 +713,7 @@ TreeElement.prototype.collapse = function()
     this.expanded = false;
 
     if (this.treeOutline)
-        this.treeOutline._expandedStateMap.put(this.representedObject, false);
+        this.treeOutline._expandedStateMap.set(this.representedObject, false);
 
     this.oncollapse();
 }
@@ -739,7 +739,7 @@ TreeElement.prototype.expand = function()
 
     this.expanded = true;
     if (this.treeOutline)
-        this.treeOutline._expandedStateMap.put(this.representedObject, true);
+        this.treeOutline._expandedStateMap.set(this.representedObject, true);
 
     if (this.treeOutline && (!this._childrenListNode || this._shouldRefreshChildren)) {
         if (this._childrenListNode && this._childrenListNode.parentNode)