| 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 0dff87bd98430c6dd3924bfe97ba28e8b9b5f5c3..cb0f453656dddd326ae197a0d0e66f5911573bdd 100644
|
| --- a/content/browser/frame_host/frame_tree.cc
|
| +++ b/content/browser/frame_host/frame_tree.cc
|
| @@ -196,7 +196,9 @@ RenderViewHostImpl* FrameTree::GetRenderViewHostForSubFrame(
|
| SiteInstance* site_instance) {
|
| RenderViewHostMap::iterator iter =
|
| render_view_host_map_.find(site_instance->GetId());
|
| - CHECK(iter != render_view_host_map_.end());
|
| + // TODO(creis): Mirror the frame tree so this check can't fail.
|
| + if (iter == render_view_host_map_.end())
|
| + return NULL;
|
| RenderViewHostRefCount rvh_refcount = iter->second;
|
| return rvh_refcount.first;
|
| }
|
|
|