From 22e2874bf6412144ab4b51b95327306ef9609b2c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:02:55 +0200 Subject: Merging upstream version 126.0.1. Signed-off-by: Daniel Baumann --- widget/gtk/nsDragService.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'widget/gtk/nsDragService.cpp') diff --git a/widget/gtk/nsDragService.cpp b/widget/gtk/nsDragService.cpp index f435cdf2a0..6cabfbbe2e 100644 --- a/widget/gtk/nsDragService.cpp +++ b/widget/gtk/nsDragService.cpp @@ -607,14 +607,6 @@ nsDragService::EndDragSession(bool aDoneDrag, uint32_t aKeyModifiers) { mTargetDragContextForRemote = nullptr; mTargetWindow = nullptr; mPendingWindow = nullptr; - mPendingDragContext = nullptr; - mPendingWindowPoint = {}; - mScheduledTask = eDragTaskNone; - if (mTaskSource) { - g_source_remove(mTaskSource); - mTaskSource = 0; - } - mPendingTime = 0; mCachedDragContext = 0; return nsBaseDragService::EndDragSession(aDoneDrag, aKeyModifiers); @@ -2603,7 +2595,6 @@ gboolean nsDragService::RunScheduledTask() { // Nothing more to do // Returning false removes the task source from the event loop. mTaskSource = 0; - mPendingDragContext = nullptr; return FALSE; } -- cgit v1.2.3