summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/messaging/message_service.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/api/messaging/message_service.cc')
-rw-r--r--chrome/browser/extensions/api/messaging/message_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/messaging/message_service.cc b/chrome/browser/extensions/api/messaging/message_service.cc
index 15eed45..a300b98b 100644
--- a/chrome/browser/extensions/api/messaging/message_service.cc
+++ b/chrome/browser/extensions/api/messaging/message_service.cc
@@ -176,7 +176,7 @@ static base::StaticAtomicSequenceNumber g_channel_id_overflow_count;
static content::RenderProcessHost* GetExtensionProcess(
BrowserContext* context,
const std::string& extension_id) {
- SiteInstance* site_instance =
+ scoped_refptr<SiteInstance> site_instance =
ProcessManager::Get(context)->GetSiteInstanceForURL(
Extension::GetBaseURLFromExtensionId(extension_id));
return site_instance->HasProcess() ? site_instance->GetProcess() : NULL;