Commit 03c60926 authored by hashimoto's avatar hashimoto Committed by Commit bot

Call InstallTracker::RemoveObserver when StartupAppLauncher is destroyed

BUG=456042

Review URL: https://codereview.chromium.org/897083003

Cr-Commit-Position: refs/heads/master@{#315172}
parent 5addbd55
...@@ -90,6 +90,8 @@ StartupAppLauncher::~StartupAppLauncher() { ...@@ -90,6 +90,8 @@ StartupAppLauncher::~StartupAppLauncher() {
// through a user bailout shortcut. // through a user bailout shortcut.
ProfileOAuth2TokenServiceFactory::GetForProfile(profile_) ProfileOAuth2TokenServiceFactory::GetForProfile(profile_)
->RemoveObserver(this); ->RemoveObserver(this);
extensions::InstallTrackerFactory::GetForBrowserContext(profile_)
->RemoveObserver(this);
} }
void StartupAppLauncher::Initialize() { void StartupAppLauncher::Initialize() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment