| Index: chrome/browser/ui/extensions/extension_action_view_controller.cc
|
| diff --git a/chrome/browser/ui/extensions/extension_action_view_controller.cc b/chrome/browser/ui/extensions/extension_action_view_controller.cc
|
| index 0b55989869a919faae12294155ed9ed64fd9838d..f2d1ce3979e3680b1edb657b12a111c8ef03bb0d 100644
|
| --- a/chrome/browser/ui/extensions/extension_action_view_controller.cc
|
| +++ b/chrome/browser/ui/extensions/extension_action_view_controller.cc
|
| @@ -288,7 +288,8 @@ bool ExtensionActionViewController::ShowPopupWithUrl(
|
| if (popup_host_) {
|
| // Lazily register for notifications about extension host destructions.
|
| static const int kType = extensions::NOTIFICATION_EXTENSION_HOST_DESTROYED;
|
| - content::Source<content::BrowserContext> source(browser_->profile());
|
| + content::Source<content::BrowserContext> source(
|
| + browser_->profile()->GetOriginalProfile());
|
| if (!registrar_.IsRegistered(this, kType, source))
|
| registrar_.Add(this, kType, source);
|
|
|
|
|