summaryrefslogtreecommitdiffstats
path: root/xpcom/base/MacHelpers.mm
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/base/MacHelpers.mm')
-rw-r--r--xpcom/base/MacHelpers.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/xpcom/base/MacHelpers.mm b/xpcom/base/MacHelpers.mm
index 26c04c49dd..9d53fd5b56 100644
--- a/xpcom/base/MacHelpers.mm
+++ b/xpcom/base/MacHelpers.mm
@@ -24,8 +24,7 @@ nsresult GetSelectedCityInfo(nsAString& aCountryCode) {
return NS_ERROR_FAILURE;
}
- return mozilla::CopyCocoaStringToXPCOMString((NSString*)countryCode,
- aCountryCode);
+ mozilla::CopyNSStringToXPCOMString((NSString*)countryCode, aCountryCode);
NS_OBJC_END_TRY_BLOCK_RETURN(NS_ERROR_FAILURE);
}