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 96890f09075d9e438e750271b3405f8ae3b2d80f..080506ca78514e6277cfe84a4fb4241f6c799f79 100644 |
--- a/content/browser/frame_host/frame_tree.cc |
+++ b/content/browser/frame_host/frame_tree.cc |
@@ -208,6 +208,9 @@ void FrameTree::CreateProxiesForSiteInstance( |
root()->render_manager()->CreateRenderFrame( |
site_instance, nullptr, MSG_ROUTING_NONE, |
CREATE_RF_SWAPPED_OUT | CREATE_RF_HIDDEN, nullptr); |
+ } else if (!render_view_host->IsRenderViewLive()) { |
nasko
2015/01/20 23:51:22
Why not move this check inside the Ensure* method?
lazyboy
2015/01/21 18:52:14
Done.
|
+ root()->render_manager()->EnsureRenderViewInitialized( |
+ source, render_view_host, site_instance); |
} |
} |