Chromium Code Reviews| Index: content/browser/web_contents/web_contents_impl.cc |
| diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
| index f7505af877b67c2644609a9ff6920d39dfba84a0..476f84a6807dcff7fd04eac28bc1e2a6e9a53cbf 100644 |
| --- a/content/browser/web_contents/web_contents_impl.cc |
| +++ b/content/browser/web_contents/web_contents_impl.cc |
| @@ -3772,18 +3772,6 @@ void WebContentsImpl::RenderViewCreated(RenderViewHost* render_view_host) { |
| Source<WebContents>(this), |
| Details<RenderViewHost>(render_view_host)); |
| - // When we're creating views, we're still doing initial setup, so we always |
| - // use the pending Web UI rather than any possibly existing committed one. |
| - if (GetRenderManager()->pending_web_ui()) |
|
Charlie Reis
2015/08/28 17:05:56
I'm noticing that this old code only passes on the
|
| - GetRenderManager()->pending_web_ui()->RenderViewCreated(render_view_host); |
| - |
| - if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
| - switches::kEnableBrowserSideNavigation) && |
| - GetRenderManager()->speculative_web_ui()) { |
| - GetRenderManager()->speculative_web_ui()->RenderViewCreated( |
| - render_view_host); |
| - } |
| - |
| NavigationEntry* entry = controller_.GetPendingEntry(); |
| if (entry && entry->IsViewSourceMode()) { |
| // Put the renderer in view source mode. |