mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-17 04:30:46 +01:00
Fix crash with OSR when the render process terminates (issue #1702)
This commit is contained in:
parent
3640f81f01
commit
e343da7e40
@ -794,13 +794,7 @@ void CefRenderWidgetHostViewOSR::ImeCancelComposition() {
|
||||
void CefRenderWidgetHostViewOSR::RenderProcessGone(
|
||||
base::TerminationStatus status,
|
||||
int error_code) {
|
||||
// TODO(OSR): Need to also clear WebContentsViewOSR::view_?
|
||||
Destroy();
|
||||
render_widget_host_ = NULL;
|
||||
parent_host_view_ = NULL;
|
||||
popup_host_view_ = NULL;
|
||||
child_host_view_ = NULL;
|
||||
guest_host_views_.clear();
|
||||
}
|
||||
|
||||
void CefRenderWidgetHostViewOSR::Destroy() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user