| Index: chrome/browser/extensions/api/messaging/message_service.cc
|
| diff --git a/chrome/browser/extensions/api/messaging/message_service.cc b/chrome/browser/extensions/api/messaging/message_service.cc
|
| index 113b3efab17cfa419bf908fa961d93468705e06f..adea7ea95a04c29f3aac66f6b3f2d3298fd5eff6 100644
|
| --- a/chrome/browser/extensions/api/messaging/message_service.cc
|
| +++ b/chrome/browser/extensions/api/messaging/message_service.cc
|
| @@ -187,7 +187,8 @@ ProfileKeyedAPIFactory<MessageService>* MessageService::GetFactoryInstance() {
|
| }
|
|
|
| // static
|
| -MessageService* MessageService::Get(Profile* profile) {
|
| +MessageService* MessageService::Get(content::BrowserContext* context) {
|
| + Profile* profile = Profile::FromBrowserContext(context);
|
| return ProfileKeyedAPIFactory<MessageService>::GetForProfile(profile);
|
| }
|
|
|
|
|