diff options
author | adeshkp <adeshkp@users.noreply.github.com> | 2020-09-13 13:39:40 +0530 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-21 10:59:35 +0000 |
commit | ba0518147f7d3e3f9d90d700e81c2c009ccea402 (patch) | |
tree | 32e75a100b0426e7bbad89d1336c18ee6d98862a /widget/cocoa | |
parent | 7564818c79cf67d0dcf866579d5b74647b96dae6 (diff) | |
download | UXP-ba0518147f7d3e3f9d90d700e81c2c009ccea402.tar UXP-ba0518147f7d3e3f9d90d700e81c2c009ccea402.tar.gz UXP-ba0518147f7d3e3f9d90d700e81c2c009ccea402.tar.lz UXP-ba0518147f7d3e3f9d90d700e81c2c009ccea402.tar.xz UXP-ba0518147f7d3e3f9d90d700e81c2c009ccea402.zip |
Fix usage of a macro in a cocoa widget (#1649)
* Issue #457 - Fix usage of a macro in a cocoa widget
Diffstat (limited to 'widget/cocoa')
-rw-r--r-- | widget/cocoa/nsDragService.mm | 4 |
1 files 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* |