| Index: chrome/browser/extensions/extension_permissions_api.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_permissions_api.cc (revision 110303)
|
| +++ chrome/browser/extensions/extension_permissions_api.cc (working copy)
|
| @@ -221,7 +221,7 @@
|
| for (RenderProcessHost::iterator i(RenderProcessHost::AllHostsIterator());
|
| !i.IsAtEnd(); i.Advance()) {
|
| RenderProcessHost* host = i.GetCurrentValue();
|
| - Profile* profile = Profile::FromBrowserContext(host->browser_context());
|
| + Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
|
| if (extension_service_->profile()->IsSameProfile(profile))
|
| host->Send(new ExtensionMsg_UpdatePermissions(
|
| static_cast<int>(reason),
|
|
|