Bug 1367720: Restore ability to drag & drop files from Finder to Firefox. r=mstange

This commit is contained in:
Stephen A Pohl 2017-05-25 10:54:52 -04:00
parent e105bc74f0
commit b633564ae8

View File

@ -612,7 +612,7 @@ nsDragService::IsDataFlavorSupported(const char *aDataFlavor, bool *_retval)
const NSString* type = nil;
bool allowFileURL = false;
if (dataFlavor.EqualsLiteral(kFileMime)) {
type = [UTIHelper stringFromPboardType:kMozFileUrlsPboardType];
type = [UTIHelper stringFromPboardType:(NSString*)kUTTypeFileURL];
allowFileURL = true;
} else if (dataFlavor.EqualsLiteral(kUnicodeMime)) {
type = [UTIHelper stringFromPboardType:NSPasteboardTypeString];