[tbb-commits] [tor-browser] 43/76: Bug 1663508: Handle interruptions of drag sessions more gracefully on macOS. r=mstange a=RyanVM
gitolite role
git at cupani.torproject.org
Wed Mar 30 20:40:11 UTC 2022
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 at gmail.com>
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.
More information about the tbb-commits
mailing list