diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-25 19:45:39 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-25 19:45:39 -0500 |
commit | 35c26c6c19e66fabcb230fb074e76e243df04d2b (patch) | |
tree | 9cbdb0397c76a7477cd60c53347ab33d426f2019 /toolkit/components/alerts/nsXULAlerts.cpp | |
parent | 8f35c37a9e82ea3e99780c1a001641227a00b6a9 (diff) | |
download | UXP-35c26c6c19e66fabcb230fb074e76e243df04d2b.tar UXP-35c26c6c19e66fabcb230fb074e76e243df04d2b.tar.gz UXP-35c26c6c19e66fabcb230fb074e76e243df04d2b.tar.lz UXP-35c26c6c19e66fabcb230fb074e76e243df04d2b.tar.xz UXP-35c26c6c19e66fabcb230fb074e76e243df04d2b.zip |
Issue #1053 - Remove android support from toolkit
Note: Does not remove support completely from toolkit/mozapps/installer or from telemetry or AppConstants.jsm
Diffstat (limited to 'toolkit/components/alerts/nsXULAlerts.cpp')
-rw-r--r-- | toolkit/components/alerts/nsXULAlerts.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/toolkit/components/alerts/nsXULAlerts.cpp b/toolkit/components/alerts/nsXULAlerts.cpp index d353d8714..47e72a27f 100644 --- a/toolkit/components/alerts/nsXULAlerts.cpp +++ b/toolkit/components/alerts/nsXULAlerts.cpp @@ -66,13 +66,10 @@ NS_IMPL_ISUPPORTS(nsXULAlerts, nsIAlertsService, nsIAlertsDoNotDisturb, nsIAlert /* static */ already_AddRefed<nsXULAlerts> nsXULAlerts::GetInstance() { - // Gecko on Android does not fully support XUL windows. -#ifndef MOZ_WIDGET_ANDROID if (!gXULAlerts) { gXULAlerts = new nsXULAlerts(); ClearOnShutdown(&gXULAlerts); } -#endif // MOZ_WIDGET_ANDROID RefPtr<nsXULAlerts> instance = gXULAlerts.get(); return instance.forget(); } |