Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3360)

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.cc

Issue 2380683008: Fix resource leak on extension window closing. (Closed)
Patch Set: Address comments. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_support_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/arc/arc_auth_service.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index 87d9ede5ba06b5b253fd416dd8a10d14b4ff200a..6ecf1f66b251e7b259f6138e40ed6b197d9550e5 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -639,8 +639,9 @@ void ArcAuthService::RemoveObserver(Observer* observer) {
}
void ArcAuthService::CloseUI() {
+ ui_page_ = UIPage::NO_PAGE;
+ ui_page_status_.clear();
FOR_EACH_OBSERVER(Observer, observer_list_, OnOptInUIClose());
- SetUIPage(UIPage::NO_PAGE, base::string16());
if (!g_disable_ui_for_testing)
ArcAuthNotification::Hide();
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_support_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698