| 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 9c9fe871b4eb268e9ea5244d8b9abe7beb571721..b1af033d06968955b9352d7ae45f03f2837bc916 100644
|
| --- a/chrome/browser/background/background_mode_manager_unittest.cc
|
| +++ b/chrome/browser/background/background_mode_manager_unittest.cc
|
| @@ -203,15 +203,6 @@ class BackgroundModeManagerTest : public testing::Test {
|
| command_line_.reset(new base::CommandLine(base::CommandLine::NO_PROGRAM));
|
| profile_manager_ = CreateTestingProfileManager();
|
| profile_ = profile_manager_->CreateTestingProfile("p1");
|
| - chrome::DisableShutdownForTesting(true);
|
| - }
|
| -
|
| - void TearDown() override {
|
| - // Don't allow the browser to be closed because the shutdown procedure will
|
| - // attempt to access objects that we haven't created (e.g., MessageCenter).
|
| - browser_shutdown::SetTryingToQuit(true);
|
| - chrome::DisableShutdownForTesting(false);
|
| - browser_shutdown::SetTryingToQuit(false);
|
| }
|
|
|
| protected:
|
|
|