| Index: chrome/browser/extensions/extension_message_service.cc
|
| ===================================================================
|
| --- chrome/browser/extensions/extension_message_service.cc (revision 110303)
|
| +++ chrome/browser/extensions/extension_message_service.cc (working copy)
|
| @@ -17,11 +17,11 @@
|
| #include "chrome/common/extensions/extension.h"
|
| #include "chrome/common/extensions/extension_messages.h"
|
| #include "content/browser/child_process_security_policy.h"
|
| -#include "content/browser/renderer_host/render_process_host.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_types.h"
|
| +#include "content/public/browser/render_process_host.h"
|
|
|
| // Since we have 2 ports for every channel, we just index channels by half the
|
| // port ID.
|
| @@ -156,7 +156,7 @@
|
| RenderProcessHost* source = RenderProcessHost::FromID(source_process_id);
|
| if (!source)
|
| return;
|
| - Profile* profile = Profile::FromBrowserContext(source->browser_context());
|
| + Profile* profile = Profile::FromBrowserContext(source->GetBrowserContext());
|
|
|
| // Note: we use the source's profile here. If the source is an incognito
|
| // process, we will use the incognito EPM to find the right extension process,
|
| @@ -186,7 +186,7 @@
|
| RenderProcessHost* source = RenderProcessHost::FromID(source_process_id);
|
| if (!source)
|
| return;
|
| - Profile* profile = Profile::FromBrowserContext(source->browser_context());
|
| + Profile* profile = Profile::FromBrowserContext(source->GetBrowserContext());
|
|
|
| TabContentsWrapper* contents = NULL;
|
| MessagePort receiver;
|
|
|