mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Fix bug when dragging to a window before mouse events have been detected (issue #262).
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@256 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -59,6 +59,7 @@ DWORD WebDropTarget::OnDragEnter(IDataObject* data_object,
|
||||
POINT cursor_position,
|
||||
DWORD effects) {
|
||||
current_wvh_ = _Context->current_webviewhost();
|
||||
DCHECK(current_wvh_);
|
||||
|
||||
// TODO(tc): PopulateWebDropData can be slow depending on what is in the
|
||||
// IDataObject. Maybe we can do this in a background thread.
|
||||
|
Reference in New Issue
Block a user