mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-12 10:17:31 +09:00
Fix usage of a macro in a cocoa widget (#1649)
* Issue #457 - Fix usage of a macro in a cocoa widget
This commit is contained in:
parent
dc12585a82
commit
cbd06086ea
1 changed files with 2 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ nsDragService::ConstructDragImage(nsIDOMNode* aDOMNode,
|
||||||
bool
|
bool
|
||||||
nsDragService::IsValidType(NSString* availableType, bool allowFileURL)
|
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.
|
// Prevent exposing fileURL for non-fileURL type.
|
||||||
// We need URL provided by dropped webloc file, but don't need file's URL.
|
// 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;
|
return true;
|
||||||
|
|
||||||
NS_OBJC_END_TRY_ABORT_BLOCK(false);
|
NS_OBJC_END_TRY_ABORT_BLOCK_RETURN(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
NSString*
|
NSString*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue