| Index: chrome/browser/extensions/api/test/test_api.cc
|
| diff --git a/chrome/browser/extensions/api/test/test_api.cc b/chrome/browser/extensions/api/test/test_api.cc
|
| index c8338523bc2cfc71641d52a4e41b6927cf0ff737..fa2ce013f7fec60508c30b5d30b54e1e6dea4789 100644
|
| --- a/chrome/browser/extensions/api/test/test_api.cc
|
| +++ b/chrome/browser/extensions/api/test/test_api.cc
|
| @@ -54,7 +54,7 @@ TestNotifyPassFunction::~TestNotifyPassFunction() {}
|
| bool TestNotifyPassFunction::RunImpl() {
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_TEST_PASSED,
|
| - content::Source<Profile>(dispatcher()->profile()),
|
| + content::Source<content::BrowserContext>(dispatcher()->browser_context()),
|
| content::NotificationService::NoDetails());
|
| return true;
|
| }
|
| @@ -66,7 +66,7 @@ bool TestNotifyFailFunction::RunImpl() {
|
| EXTENSION_FUNCTION_VALIDATE(params.get());
|
| content::NotificationService::current()->Notify(
|
| chrome::NOTIFICATION_EXTENSION_TEST_FAILED,
|
| - content::Source<Profile>(dispatcher()->profile()),
|
| + content::Source<content::BrowserContext>(dispatcher()->browser_context()),
|
| content::Details<std::string>(¶ms->message));
|
| return true;
|
| }
|
|
|