| Index: chrome/browser/extensions/extension_host.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_host.cc (revision 110303)
|
| +++ chrome/browser/extensions/extension_host.cc (working copy)
|
| @@ -36,8 +36,6 @@
|
| #include "chrome/common/url_constants.h"
|
| #include "chrome/common/chrome_view_types.h"
|
| #include "content/browser/browsing_instance.h"
|
| -#include "content/browser/renderer_host/browser_render_process_host.h"
|
| -#include "content/browser/renderer_host/render_process_host.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/renderer_host/render_widget_host.h"
|
| #include "content/browser/renderer_host/render_widget_host_view.h"
|
| @@ -49,6 +47,7 @@
|
| #include "content/common/view_messages.h"
|
| #include "content/public/browser/content_browser_client.h"
|
| #include "content/public/browser/native_web_keyboard_event.h"
|
| +#include "content/public/browser/render_process_host.h"
|
| #include "content/public/common/bindings_policy.h"
|
| #include "grit/browser_resources.h"
|
| #include "grit/chromium_strings.h"
|
| @@ -601,13 +600,13 @@
|
| // TODO(aa): Use the browser's profile if the extension is split mode
|
| // incognito.
|
| Profile* profile = Profile::FromBrowserContext(
|
| - render_view_host()->process()->browser_context());
|
| + render_view_host()->process()->GetBrowserContext());
|
| TabContents* new_contents = delegate_view_helper_.CreateNewWindow(
|
| route_id,
|
| profile,
|
| site_instance(),
|
| ChromeWebUIFactory::GetInstance()->GetWebUIType(
|
| - render_view_host()->process()->browser_context(), url_),
|
| + render_view_host()->process()->GetBrowserContext(), url_),
|
| this,
|
| params.window_container_type,
|
| params.frame_name);
|
|
|