summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_omnibox_api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_omnibox_api.cc')
-rw-r--r--chrome/browser/extensions/extension_omnibox_api.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/extensions/extension_omnibox_api.cc b/chrome/browser/extensions/extension_omnibox_api.cc
index 25e1bbd..524f65b 100644
--- a/chrome/browser/extensions/extension_omnibox_api.cc
+++ b/chrome/browser/extensions/extension_omnibox_api.cc
@@ -143,7 +143,7 @@ bool OmniboxSendSuggestionsFunction::RunImpl() {
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_OMNIBOX_SUGGESTIONS_READY,
- content::Source<Profile>(profile_),
+ content::Source<Profile>(profile_->GetOriginalProfile()),
content::Details<ExtensionOmniboxSuggestions>(&suggestions));
return true;
@@ -174,7 +174,7 @@ bool OmniboxSetDefaultSuggestionFunction::RunImpl() {
content::NotificationService::current()->Notify(
chrome::NOTIFICATION_EXTENSION_OMNIBOX_DEFAULT_SUGGESTION_CHANGED,
- content::Source<Profile>(profile_),
+ content::Source<Profile>(profile_->GetOriginalProfile()),
content::NotificationService::NoDetails());
return true;