Bug 1459856 - Remove the comm-central only asyncHistory accessor. r=standard8
MozReview-Commit-ID: BU2FnIakdob
--- 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", () => {