diff options
author | hashimoto <hashimoto@chromium.org> | 2015-02-06 19:23:50 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-07 03:24:44 +0000 |
commit | 03c6092634d353ebcc0733d84e4b0378b5708dd1 (patch) | |
tree | fb65ca5d27eb93d24c4ba14be02fdd745ed1d1af /chrome/browser/chromeos/app_mode | |
parent | 5addbd55b7adfd6c158ee169d5e56a5c3567a06b (diff) | |
download | chromium_src-03c6092634d353ebcc0733d84e4b0378b5708dd1.zip chromium_src-03c6092634d353ebcc0733d84e4b0378b5708dd1.tar.gz chromium_src-03c6092634d353ebcc0733d84e4b0378b5708dd1.tar.bz2 |
Call InstallTracker::RemoveObserver when StartupAppLauncher is destroyed
BUG=456042
Review URL: https://codereview.chromium.org/897083003
Cr-Commit-Position: refs/heads/master@{#315172}
Diffstat (limited to 'chrome/browser/chromeos/app_mode')
-rw-r--r-- | chrome/browser/chromeos/app_mode/startup_app_launcher.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/app_mode/startup_app_launcher.cc b/chrome/browser/chromeos/app_mode/startup_app_launcher.cc index a7652a3..d43781d 100644 --- a/chrome/browser/chromeos/app_mode/startup_app_launcher.cc +++ b/chrome/browser/chromeos/app_mode/startup_app_launcher.cc @@ -90,6 +90,8 @@ StartupAppLauncher::~StartupAppLauncher() { // through a user bailout shortcut. ProfileOAuth2TokenServiceFactory::GetForProfile(profile_) ->RemoveObserver(this); + extensions::InstallTrackerFactory::GetForBrowserContext(profile_) + ->RemoveObserver(this); } void StartupAppLauncher::Initialize() { |