Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / devtools / front_end / documentation / DocumentationCatalog.js
index 0e9f1a9..8a3b49c 100644 (file)
@@ -7,8 +7,8 @@
  */
 WebInspector.DocumentationCatalog = function()
 {
-    /** @type {!StringMap.<!Array.<!WebInspector.DocumentationCatalog.ItemDescriptor>>} */
-    this._articleList = new StringMap();
+    /** @type {!Map.<string, !Array.<!WebInspector.DocumentationCatalog.ItemDescriptor>>} */
+    this._articleList = new Map();
     this._loader = new WebInspector.DocumentationCatalog.Loader(this);
 }
 
@@ -174,7 +174,7 @@ WebInspector.DocumentationCatalog.Loader.prototype = {
         this._state = WebInspector.DocumentationCatalog.Loader.DownloadStates.InProgress;
         var url = String.sprintf(WebInspector.DocumentationCatalog._articleListURLFormat, this._section);
         var boundReset = this._resetDownload.bind(this);
-        loadXHR(url).then(this._processData.bind(this), boundReset).catch(boundReset);
+        loadXHR(url).then(this._processData.bind(this)).catch(boundReset);
     },
 
     /**
@@ -208,4 +208,4 @@ WebInspector.DocumentationCatalog.Loader.prototype = {
         WebInspector.console.error("Documentation article list download failed");
         this._state = WebInspector.DocumentationCatalog.Loader.DownloadStates.Failed;
     }
-}
\ No newline at end of file
+}