From bd5707295f0a9fe8d9c7ed8a9d320bad021b5171 Mon Sep 17 00:00:00 2001 From: Fedor Date: Fri, 2 Oct 2020 10:34:26 +0300 Subject: [PATCH] Fix usage of a macro in a cocoa widget. --- widget/cocoa/nsDragService.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widget/cocoa/nsDragService.mm b/widget/cocoa/nsDragService.mm index b92db1b2a..c4d8e6ff0 100644 --- a/widget/cocoa/nsDragService.mm +++ b/widget/cocoa/nsDragService.mm @@ -222,7 +222,7 @@ nsDragService::ConstructDragImage(nsIDOMNode* aDOMNode, bool nsDragService::IsValidType(NSString* availableType, bool allowFileURL) { - NS_OBJC_BEGIN_TRY_ABORT_BLOCK; + NS_OBJC_BEGIN_TRY_ABORT_BLOCK_RETURN; // Prevent exposing fileURL for non-fileURL type. // We need URL provided by dropped webloc file, but don't need file's URL. @@ -234,7 +234,7 @@ nsDragService::IsValidType(NSString* availableType, bool allowFileURL) return true; - NS_OBJC_END_TRY_ABORT_BLOCK(false); + NS_OBJC_END_TRY_ABORT_BLOCK_RETURN(false); } NSString*