Bug 1459856 - Remove the comm-central only asyncHistory accessor. r=standard8
authorMarco Bonardo <mbonardo@mozilla.com>
Thu, 10 May 2018 10:19:12 +0200
changeset 417662 f0ea53cd87260f0e929ed0f8401a76b9a757b265
parent 417661 b859a16d74500eed3b00d7e0bc1eba0d9e0c34a4
child 417663 6bc652b4e61a3abf09dc2a150236e8eaaf8ec0c4
push id63803
push usermak77@bonardo.net
push dateThu, 10 May 2018 09:03:38 +0000
treeherderautoland@f0ea53cd8726 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersstandard8
bugs1459856
milestone62.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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", () => {