[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 43/76: Bug 1663508: Handle interruptions of drag sessions more gracefully on macOS. r=mstange a=RyanVM



This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch tor-browser-91.8.0esr-11.0-1
in repository tor-browser.

commit 46bf5796b19eface0f79ed4d24e33e2a8eaa320a
Author: Stephen A Pohl <spohl.mozilla.bugs@xxxxxxxxx>
AuthorDate: Tue Mar 15 16:03:11 2022 +0000

    Bug 1663508: Handle interruptions of drag sessions more gracefully on macOS. r=mstange a=RyanVM
    
    Differential Revision: https://phabricator.services.mozilla.com/D140796
---
 widget/cocoa/nsDragService.mm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widget/cocoa/nsDragService.mm b/widget/cocoa/nsDragService.mm
index cab6fc5172b82..d2c0605b1ad9e 100644
--- a/widget/cocoa/nsDragService.mm
+++ b/widget/cocoa/nsDragService.mm
@@ -42,7 +42,7 @@ extern bool gUserCancelledDrag;
 
 // This global makes the transferable array available to Cocoa's promised
 // file destination callback.
-nsIArray* gDraggedTransferables = nullptr;
+mozilla::StaticRefPtr<nsIArray> gDraggedTransferables;
 
 NSString* const kPublicUrlPboardType = @"public.url";
 NSString* const kPublicUrlNamePboardType = @"public.url-name";

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits