Fix crash with OSR when the render process terminates (issue #1702)

This commit is contained in:
Marshall Greenblatt 2015-09-07 15:20:39 +02:00
parent 3640f81f01
commit e343da7e40

View File

@ -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() {