Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index baf1cc4c75a4ec24ab4afaa3c1617df86882f133..4a21dd4d70f17761ab47cb2a8f2ce561f148b69b 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1469,8 +1469,10 @@ void RenderWidgetHostImpl::Destroy(bool also_delete) { |
if (delegate_) |
delegate_->RenderWidgetDeleted(this); |
- if (also_delete) |
+ if (also_delete) { |
+ CHECK(!owner_delegate_); |
nasko
2016/03/01 17:13:43
Is the goal of this to help us discover further Ua
gzobqq
2016/03/01 18:30:13
I would guess that if there is a way to fail this
|
delete this; |
+ } |
} |
void RenderWidgetHostImpl::RendererIsUnresponsive() { |