| Index: chrome/browser/media_galleries/media_file_system_registry_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/media_galleries/media_file_system_registry_unittest.cc (revision 213177)
|
| +++ chrome/browser/media_galleries/media_file_system_registry_unittest.cc (working copy)
|
| @@ -378,8 +378,6 @@
|
| scoped_ptr<chromeos::ScopedTestUserManager> test_user_manager_;
|
| #endif
|
|
|
| - scoped_ptr<chrome::test::TestStorageMonitor> monitor_;
|
| -
|
| MockProfileSharedRenderProcessHostFactory rph_factory_;
|
|
|
| ScopedVector<ProfileState> profile_states_;
|
| @@ -747,11 +745,7 @@
|
|
|
| void MediaFileSystemRegistryTest::SetUp() {
|
| ChromeRenderViewHostTestHarness::SetUp();
|
| - monitor_.reset(new test::TestStorageMonitor());
|
| - monitor_->MarkInitialized();
|
| - base::RunLoop runloop;
|
| - monitor_->EnsureInitialized(runloop.QuitClosure());
|
| - runloop.Run();
|
| + ASSERT_TRUE(test::TestStorageMonitor::CreateAndInstall());
|
|
|
| DeleteContents();
|
| SetRenderProcessHostFactory(&rph_factory_);
|
|
|