| Index: chrome/browser/tab_contents/background_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/background_contents.cc (revision 158279)
|
| +++ chrome/browser/tab_contents/background_contents.cc (working copy)
|
| @@ -37,7 +37,7 @@
|
| content::WebContentsObserver::Observe(web_contents_.get());
|
|
|
| // Close ourselves when the application is shutting down.
|
| - registrar_.Add(this, content::NOTIFICATION_APP_TERMINATING,
|
| + registrar_.Add(this, chrome::NOTIFICATION_APP_TERMINATING,
|
| content::NotificationService::AllSources());
|
|
|
| // Register for our parent profile to shutdown, so we can shut ourselves down
|
| @@ -123,7 +123,7 @@
|
| // background pages are closed when the last referencing frame is closed.
|
| switch (type) {
|
| case chrome::NOTIFICATION_PROFILE_DESTROYED:
|
| - case content::NOTIFICATION_APP_TERMINATING: {
|
| + case chrome::NOTIFICATION_APP_TERMINATING: {
|
| delete this;
|
| break;
|
| }
|
|
|