summaryrefslogtreecommitdiffstats
path: root/WebKit/win/WebDropSource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/win/WebDropSource.cpp')
-rw-r--r--WebKit/win/WebDropSource.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/WebKit/win/WebDropSource.cpp b/WebKit/win/WebDropSource.cpp
index 5c26b37..294c337 100644
--- a/WebKit/win/WebDropSource.cpp
+++ b/WebKit/win/WebDropSource.cpp
@@ -107,9 +107,7 @@ STDMETHODIMP WebDropSource::QueryContinueDrag(BOOL fEscapePressed, DWORD grfKeyS
if (fEscapePressed || !(grfKeyState & (MK_LBUTTON|MK_RBUTTON))) {
m_dropped = !fEscapePressed;
return fEscapePressed? DRAGDROP_S_CANCEL : DRAGDROP_S_DROP;
- } else if (Page* page = m_webView->page())
- if (Frame* frame = page->mainFrame())
- frame->eventHandler()->dragSourceMovedTo(generateMouseEvent(m_webView.get(), true));
+ }
return S_OK;
}