| Index: chrome/browser/background/background_mode_manager_unittest.cc
|
| diff --git a/chrome/browser/background/background_mode_manager_unittest.cc b/chrome/browser/background/background_mode_manager_unittest.cc
|
| index cabc5b2e0b86efd94a51af385246832f10903c8f..e8ffd997b3b62e32f7d4bcb71025a7c0f93e8c12 100644
|
| --- a/chrome/browser/background/background_mode_manager_unittest.cc
|
| +++ b/chrome/browser/background/background_mode_manager_unittest.cc
|
| @@ -261,12 +261,14 @@ class BackgroundModeManagerWithExtensionsTest : public testing::Test {
|
| // We're getting ready to shutdown the message loop. Clear everything out!
|
| base::MessageLoop::current()->RunUntilIdle();
|
|
|
| - test_keep_alive_.reset();
|
| -
|
| // TestBackgroundModeManager has dependencies on the infrastructure.
|
| // It should get cleared first.
|
| manager_.reset();
|
|
|
| + // Now that the background manager is destroyed, the test KeepAlive can be
|
| + // cleared without having |manager_| attempt to perform optimizations.
|
| + test_keep_alive_.reset();
|
| +
|
| // The Profile Manager references the Browser Process.
|
| // The Browser Process references the Notification UI Manager.
|
| // The Notification UI Manager references the Message Center.
|
|
|