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