Bug 1459856 - Remove the comm-central only asyncHistory accessor. r=standard8 draft
authorMarco Bonardo <mbonardo@mozilla.com>
Thu, 10 May 2018 10:19:12 +0200
changeset 793510 4e57d4dc19fa464e86c25f8ff45c897c0d864b8e
parent 793508 c379c145386478eb0cadfefe20c881f8652e6c2d
child 793518 27f7d939ab9acab6eb4896e8fc1348e74aee35cf
push id109410
push usermak77@bonardo.net
push dateThu, 10 May 2018 08:20:15 +0000
reviewersstandard8
bugs1459856
milestone62.0a1
Bug 1459856 - Remove the comm-central only asyncHistory accessor. r=standard8 MozReview-Commit-ID: BU2FnIakdob
toolkit/components/places/PlacesUtils.jsm
--- a/toolkit/components/places/PlacesUtils.jsm
+++ b/toolkit/components/places/PlacesUtils.jsm
@@ -1867,24 +1867,16 @@ XPCOMUtils.defineLazyGetter(PlacesUtils,
       if (typeof property == "function") {
         return property.bind(object);
       }
       return property;
     }
   }));
 });
 
-if (AppConstants.MOZ_APP_NAME != "firefox") {
-  // TODO (bug 1458865): This is deprecated and should not be used. We'll
-  // remove it once comm-central stops using it.
-  XPCOMUtils.defineLazyServiceGetter(PlacesUtils, "asyncHistory",
-                                    "@mozilla.org/browser/history;1",
-                                    "mozIAsyncHistory");
-}
-
 XPCOMUtils.defineLazyServiceGetter(PlacesUtils, "favicons",
                                    "@mozilla.org/browser/favicon-service;1",
                                    "mozIAsyncFavicons");
 
 XPCOMUtils.defineLazyServiceGetter(this, "bmsvc",
                                    "@mozilla.org/browser/nav-bookmarks-service;1",
                                    "nsINavBookmarksService");
 XPCOMUtils.defineLazyGetter(PlacesUtils, "bookmarks", () => {