Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / settings / EditFileSystemDialog.js
index 3f5f71b..a3d6068 100644 (file)
@@ -322,7 +322,7 @@ WebInspector.EditFileSystemDialog.prototype = {
      */
     _validateExcludedFolder: function(path, allowedPath)
     {
-        return !!path && (path === allowedPath || !this._excludedFolderEntries.contains(path));
+        return !!path && (path === allowedPath || !this._excludedFolderEntries.has(path));
     },
 
     /**
@@ -358,7 +358,7 @@ WebInspector.EditFileSystemDialog.prototype = {
         if (!fileSystemPath || this._fileSystemPath !== fileSystemPath)
             return;
         var path = entry.path;
-        this._excludedFolderEntries.put(path, entry);
+        this._excludedFolderEntries.set(path, entry);
         this._excludedFolderList.addItem(path, null);
         this._resize();
     },