| Index: chrome/browser/extensions/extension_function_dispatcher.cc
|
| diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
|
| index dfd9faeae76f8261c16b92921ba138a6e4906b15..051be497e14816a059410f8045834b4c6295880d 100644
|
| --- a/chrome/browser/extensions/extension_function_dispatcher.cc
|
| +++ b/chrome/browser/extensions/extension_function_dispatcher.cc
|
| @@ -671,7 +671,7 @@ Browser* ExtensionFunctionDispatcher::GetCurrentBrowser(
|
| // 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 @@ void ExtensionFunctionDispatcher::Dispatch(
|
|
|
| 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;
|
|
|