diff options
Diffstat (limited to 'xpcom/io/CocoaFileUtils.mm')
-rw-r--r-- | xpcom/io/CocoaFileUtils.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xpcom/io/CocoaFileUtils.mm b/xpcom/io/CocoaFileUtils.mm index 3710be864c..f45da3ec66 100644 --- a/xpcom/io/CocoaFileUtils.mm +++ b/xpcom/io/CocoaFileUtils.mm @@ -309,7 +309,7 @@ void CopyQuarantineReferrerUrl(const CFStringRef aFilePath, ::CFDictionaryGetValue(mutQuarantineProps, kLSQuarantineOriginURLKey); if (referrerRef && ::CFGetTypeID(referrerRef) == ::CFURLGetTypeID()) { // URL string must be copied prior to releasing the dictionary. - mozilla::CopyCocoaStringToXPCOMString( + mozilla::CopyNSStringToXPCOMString( (NSString*)::CFURLGetString(static_cast<CFURLRef>(referrerRef)), aReferrer); } |