From 88e231c39176afa86c8b9716ec0f902f564fe4f7 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Fri, 13 Jul 2018 15:42:07 -0700 Subject: [PATCH] Bug 1475065 part 11. Remove unused nsIDOMOfflineResourceList::GetMozItems. r=nika --- dom/interfaces/offline/nsIDOMOfflineResourceList.idl | 4 ---- dom/offline/nsDOMOfflineResourceList.cpp | 9 --------- 2 files changed, 13 deletions(-) diff --git a/dom/interfaces/offline/nsIDOMOfflineResourceList.idl b/dom/interfaces/offline/nsIDOMOfflineResourceList.idl index 1dbac77aad05..9f8691081b56 100644 --- a/dom/interfaces/offline/nsIDOMOfflineResourceList.idl +++ b/dom/interfaces/offline/nsIDOMOfflineResourceList.idl @@ -8,8 +8,4 @@ [uuid(6044702d-e4a9-420c-b711-558b7d6a3b9f)] interface nsIDOMOfflineResourceList : nsISupports { - /** - * Get the list of dynamically-managed entries. - */ - readonly attribute nsISupports mozItems; }; diff --git a/dom/offline/nsDOMOfflineResourceList.cpp b/dom/offline/nsDOMOfflineResourceList.cpp index b9585d09e12e..16424d60569e 100644 --- a/dom/offline/nsDOMOfflineResourceList.cpp +++ b/dom/offline/nsDOMOfflineResourceList.cpp @@ -216,15 +216,6 @@ nsDOMOfflineResourceList::GetMozItems(ErrorResult& aRv) return items.forget(); } -NS_IMETHODIMP -nsDOMOfflineResourceList::GetMozItems(nsISupports** aItems) -{ - ErrorResult rv; - RefPtr items = GetMozItems(rv); - items.forget(aItems); - return rv.StealNSResult(); -} - bool nsDOMOfflineResourceList::MozHasItem(const nsAString& aURI, ErrorResult& aRv) {