From 85310221f0512bf1aeefc49ead8a1e11bda55990 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 30 May 2024 05:01:59 +0200 Subject: Adding upstream version 126.0.1. Signed-off-by: Daniel Baumann --- widget/gtk/nsDragService.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'widget') 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