summaryrefslogtreecommitdiffstats
path: root/widget
diff options
context:
space:
mode:
Diffstat (limited to 'widget')
-rw-r--r--widget/gtk/nsDragService.cpp9
1 files changed, 0 insertions, 9 deletions
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;
}