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@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=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";