Index: chrome/browser/extensions/extension_webrequest_api.cc |
=================================================================== |
--- chrome/browser/extensions/extension_webrequest_api.cc (revision 110303) |
+++ chrome/browser/extensions/extension_webrequest_api.cc (working copy) |
@@ -293,7 +293,7 @@ |
for (RenderProcessHost::iterator it = RenderProcessHost::AllHostsIterator(); |
!it.IsAtEnd(); it.Advance()) { |
RenderProcessHost* host = it.GetCurrentValue(); |
- if (host->browser_context() == browser_context) |
+ if (host->GetBrowserContext() == browser_context) |
SendExtensionWebRequestStatusToHost(host); |
} |
} |
@@ -1630,7 +1630,7 @@ |
} |
void SendExtensionWebRequestStatusToHost(RenderProcessHost* host) { |
- Profile* profile = Profile::FromBrowserContext(host->browser_context()); |
+ Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext()); |
if (!profile || !profile->GetExtensionService()) |
return; |