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

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 2033093003: [Notification] Make HTML5 Notification use ActionCenter on Windows 10, behind Flags. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and merge. Created 3 years, 7 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 | « chrome/browser/about_flags.cc ('k') | chrome/browser/notifications/notification_display_service_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index 562caa37b40cea749da981a142207c35b8426579..c9d626b783a5870572606c3ca5ee7522e5b8b1ac 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -311,6 +311,11 @@ void BrowserProcessImpl::StartTearDown() {
plugins_resource_service_.reset();
#endif
+ // Clear notification bridge explicitly, since it may consume resources for
+ // notifications that haven't been shown. For example, on Windows 10 we'd use
+ // store temporary images files.
+ notification_bridge_.reset();
+
// Need to clear the desktop notification balloons before the io_thread_ and
// before the profiles, since if there are any still showing we will access
// those things during teardown.
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/notifications/notification_display_service_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698