Bug 1686616 - make StringBundle use Components instead of Services. r=kmag

Differential Revision: https://phabricator.services.mozilla.com/D105531
This commit is contained in:
Alexis Beingessner
2021-02-18 13:26:32 +00:00
parent 75fb3d61d0
commit b376547204
29 changed files with 49 additions and 46 deletions

View File

@@ -111,7 +111,7 @@ class BundleHelper {
nsIStringBundle* GetOrCreateInternal() {
if (!mBundle) {
nsCOMPtr<nsIStringBundleService> bundleService =
mozilla::services::GetStringBundleService();
mozilla::components::StringBundle::Service();
if (NS_WARN_IF(!bundleService)) {
return nullptr;
}