diff --git a/toolkit/components/alerts/nsAlertsService.cpp b/toolkit/components/alerts/nsAlertsService.cpp index 345f60754061..25cc5a3fc434 100644 --- a/toolkit/components/alerts/nsAlertsService.cpp +++ b/toolkit/components/alerts/nsAlertsService.cpp @@ -84,6 +84,8 @@ NS_IMPL_ISUPPORTS(IconCallback, nsIFaviconDataCallback) #endif // MOZ_PLACES +#ifndef MOZ_WIDGET_ANDROID + nsresult ShowWithIconBackend(nsIAlertsService* aBackend, nsIAlertNotification* aAlert, nsIObserver* aAlertListener) @@ -132,6 +134,8 @@ ShowWithBackend(nsIAlertsService* aBackend, nsIAlertNotification* aAlert, return aBackend->ShowAlert(aAlert, aAlertListener); } +#endif // MOZ_WIDGET_ANDROID + } // anonymous namespace NS_IMPL_ISUPPORTS(nsAlertsService, nsIAlertsService, nsIAlertsDoNotDisturb, nsIAlertsProgressListener)