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

Unified Diff: content/browser/battery_status/battery_monitor_integration_browsertest.cc

Issue 2633053002: Remove the MessageLoop::DestructionObserver from mojo bindings. (Closed)
Patch Set: rebase Created 3 years, 11 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
Index: content/browser/battery_status/battery_monitor_integration_browsertest.cc
diff --git a/content/browser/battery_status/battery_monitor_integration_browsertest.cc b/content/browser/battery_status/battery_monitor_integration_browsertest.cc
index 9856a6663572ad758d41fcbceae91dc70a4f9564..5db921f97b1012b34c87a5f9f5ebf902b07c6c91 100644
--- a/content/browser/battery_status/battery_monitor_integration_browsertest.cc
+++ b/content/browser/battery_status/battery_monitor_integration_browsertest.cc
@@ -39,7 +39,7 @@ typedef BatteryUpdateCallbackList::Subscription BatteryUpdateSubscription;
device::BatteryStatus g_battery_status;
// Global list of test battery monitors to notify when |g_battery_status|
// changes.
-base::LazyInstance<BatteryUpdateCallbackList> g_callback_list =
+base::LazyInstance<BatteryUpdateCallbackList>::Leaky g_callback_list =
LAZY_INSTANCE_INITIALIZER;
// Updates the global battery state and notifies existing test monitors.
« no previous file with comments | « chrome/browser/media/router/presentation_service_delegate_observers.cc ('k') | content/browser/browser_main_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698