mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Merge revision 655 changes:
- Windows: Delay destroying the browser window until pending drag operations have completed (issue #610). - Revert: Windows: Reset the window procedure in the WebWidgetHost destructor to avoid crashes if messages are delivered after the window is destroyed. git-svn-id: https://chromiumembedded.googlecode.com/svn/branches/1025@656 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -127,7 +127,9 @@ void BrowserDragDelegate::StartDragging(const WebDropData& drop_data,
|
||||
// If it is not drag-out, do the drag-and-drop in the current UI thread.
|
||||
if (drop_data.download_metadata.empty()) {
|
||||
DoDragging(drop_data, ops, page_url, page_encoding, image, image_offset);
|
||||
EndDragging(false);
|
||||
CefThread::PostTask(
|
||||
CefThread::UI, FROM_HERE,
|
||||
base::Bind(&BrowserDragDelegate::EndDragging, this, false));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user