| Index: chrome/browser/profiles/profile_manager_unittest.cc
|
| ===================================================================
|
| --- chrome/browser/profiles/profile_manager_unittest.cc (revision 111142)
|
| +++ chrome/browser/profiles/profile_manager_unittest.cc (working copy)
|
| @@ -66,6 +66,12 @@
|
| // Create a new temporary directory, and store the path
|
| ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
|
| profile_manager_.reset(new ProfileManagerWithoutInit(temp_dir_.path()));
|
| +#if defined(OS_WIN)
|
| + // Force the ProfileInfoCache to be created immediately, so we can
|
| + // remove the shortcut manager for testing.
|
| + profile_manager_->GetProfileInfoCache();
|
| + profile_manager_->RemoveProfileShortcutManagerForTesting();
|
| +#endif
|
| }
|
|
|
| virtual void TearDown() {
|
|
|