mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
- 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/trunk@655 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@@ -534,6 +534,9 @@ void BrowserWebViewDelegate::EndDragging() {
|
||||
if (browser_->UIT_GetWebView())
|
||||
browser_->UIT_GetWebView()->dragSourceSystemDragEnded();
|
||||
drag_delegate_ = NULL;
|
||||
|
||||
if (destroy_on_drag_end_)
|
||||
browser_->UIT_DestroyBrowser();
|
||||
}
|
||||
|
||||
void BrowserWebViewDelegate::ShowJavaScriptAlert(WebFrame* webframe,
|
||||
|
Reference in New Issue
Block a user