[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser] 169/311: Bug 1663508: Handle interruptions of drag sessions more gracefully on macOS. r=mstange a=dmeehan
This is an automated email from the git hooks/post-receive script.
pierov pushed a commit to branch geckoview-99.0.1-11.0-1
in repository tor-browser.
commit 8dda865b45652c3a8edb274f7548de5f41b6249c
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=dmeehan
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 290acf1bb3f16..3e6a11b2e9a54 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