Extract minimal RenderViewHost interface for embedders, leaving
RenderViewHostImpl for content.
[email protected]
BUG=98716
Review URL: http://codereview.chromium.org/9473001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124941 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index dfd9fae..051be49 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -671,7 +671,7 @@
// we will search the incognito version only, regardless of the value of
// |include_incognito|.
Profile* profile = Profile::FromBrowserContext(
- render_view_host->process()->GetBrowserContext());
+ render_view_host->GetProcess()->GetBrowserContext());
browser = BrowserList::FindAnyBrowser(profile, include_incognito);
// NOTE(rafaelw): This can return NULL in some circumstances. In particular,
@@ -700,10 +700,10 @@
scoped_refptr<ExtensionFunction> function(
CreateExtensionFunction(params, extension,
- render_view_host->process()->GetID(),
+ render_view_host->GetProcess()->GetID(),
*(service->process_map()),
profile(), render_view_host,
- render_view_host->routing_id()));
+ render_view_host->GetRoutingID()));
if (!function) {
LogFailure(extension, params.name, kAccessDenied);
return;