| Index: apps/shell_window.cc
|
| diff --git a/apps/shell_window.cc b/apps/shell_window.cc
|
| index 9c0247aef560ccf9a429c63df120539be4d452a9..4a48ae9aa14b48ecbc3cdac7f992535c62b029bb 100644
|
| --- a/apps/shell_window.cc
|
| +++ b/apps/shell_window.cc
|
| @@ -208,7 +208,7 @@ void ShellWindow::Init(const GURL& url,
|
| // properly. In particular, on Windows, the view's clickthrough region needs
|
| // to be set.
|
| registrar_.Add(this, chrome::NOTIFICATION_EXTENSION_UNLOADED,
|
| - content::Source<Profile>(profile_));
|
| + content::Source<Profile>(profile_->GetOriginalProfile()));
|
| // Close when the browser process is exiting.
|
| registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING,
|
| content::NotificationService::AllSources());
|
|
|