Index: Source/core/page/EventHandler.cpp |
diff --git a/Source/core/page/EventHandler.cpp b/Source/core/page/EventHandler.cpp |
index 55a07108fe384eddf4e7d7407552417884a1d2ed..3b91fb4dd11166fc9c311b372d95f929bcf027b3 100644 |
--- a/Source/core/page/EventHandler.cpp |
+++ b/Source/core/page/EventHandler.cpp |
@@ -3037,8 +3037,10 @@ bool EventHandler::dragHysteresisExceeded(const FloatPoint& dragViewportLocation |
void EventHandler::freeClipboard() |
{ |
- if (dragState().m_dragClipboard) |
+ if (dragState().m_dragClipboard) { |
+ dragState().m_dragClipboard->clearDragImage(); |
dragState().m_dragClipboard->setAccessPolicy(ClipboardNumb); |
+ } |
} |
void EventHandler::dragSourceEndedAt(const PlatformMouseEvent& event, DragOperation operation) |