| Index: content/browser/frame_host/frame_tree.cc
|
| diff --git a/content/browser/frame_host/frame_tree.cc b/content/browser/frame_host/frame_tree.cc
|
| index 89219c447379b5e58eef1a0e28b541fbb492b9b3..7a44a6a7cefe419f7349b6eb227594591c19c60a 100644
|
| --- a/content/browser/frame_host/frame_tree.cc
|
| +++ b/content/browser/frame_host/frame_tree.cc
|
| @@ -355,7 +355,7 @@ void FrameTree::ReleaseRenderViewHostRef(RenderViewHostImpl* render_view_host) {
|
| CHECK_GT(iter->second->ref_count(), 0);
|
| iter->second->decrement_ref_count();
|
| if (iter->second->ref_count() == 0) {
|
| - iter->second->Shutdown();
|
| + iter->second->ShutdownAndDestroy();
|
| render_view_host_map_.erase(iter);
|
| }
|
| } else {
|
| @@ -376,7 +376,7 @@ void FrameTree::ReleaseRenderViewHostRef(RenderViewHostImpl* render_view_host) {
|
| CHECK_GT(render_view_host->ref_count(), 0);
|
| render_view_host->decrement_ref_count();
|
| if (render_view_host->ref_count() == 0) {
|
| - render_view_host->Shutdown();
|
| + render_view_host->ShutdownAndDestroy();
|
| render_view_host_pending_shutdown_map_.erase(multi_iter);
|
| }
|
| break;
|
|
|