Index: chrome/browser/extensions/user_script_master.cc |
=================================================================== |
--- chrome/browser/extensions/user_script_master.cc (revision 110303) |
+++ chrome/browser/extensions/user_script_master.cc (working copy) |
@@ -24,8 +24,8 @@ |
#include "chrome/common/extensions/extension_message_bundle.h" |
#include "chrome/common/extensions/extension_resource.h" |
#include "chrome/common/extensions/extension_set.h" |
-#include "content/browser/renderer_host/render_process_host.h" |
#include "content/public/browser/notification_service.h" |
+#include "content/public/browser/render_process_host.h" |
using content::BrowserThread; |
@@ -383,7 +383,7 @@ |
RenderProcessHost* process = |
content::Source<RenderProcessHost>(source).ptr(); |
Profile* profile = Profile::FromBrowserContext( |
- process->browser_context()); |
+ process->GetBrowserContext()); |
if (!profile_->IsSameProfile(profile)) |
return; |
if (ScriptsReady()) |
@@ -412,7 +412,7 @@ |
void UserScriptMaster::SendUpdate(RenderProcessHost* process, |
base::SharedMemory* shared_memory) { |
- Profile* profile = Profile::FromBrowserContext(process->browser_context()); |
+ Profile* profile = Profile::FromBrowserContext(process->GetBrowserContext()); |
// Make sure we only send user scripts to processes in our profile. |
if (!profile_->IsSameProfile(profile)) |
return; |