Index: content/browser/tab_contents/render_view_host_manager.cc |
=================================================================== |
--- content/browser/tab_contents/render_view_host_manager.cc (revision 78583) |
+++ content/browser/tab_contents/render_view_host_manager.cc (working copy) |
@@ -22,7 +22,6 @@ |
#include "content/browser/tab_contents/tab_contents_view.h" |
#include "content/browser/webui/web_ui.h" |
#include "content/browser/webui/web_ui_factory.h" |
-#include "content/common/content_client.h" |
#include "content/common/notification_service.h" |
#include "content/common/notification_type.h" |
@@ -488,7 +487,7 @@ |
// Give the embedder a chance to initialize the render view. |
Profile* profile = delegate_->GetControllerForRenderManager().profile(); |
- content::GetContentClient()->browser_client()->OnRenderViewCreation( |
+ content::GetContentClient()->browser()->PreCreateRenderView( |
render_view_host, profile, entry.url()); |
return delegate_->CreateRenderViewForRenderManager(render_view_host); |