| Index: chrome/browser/ui/cocoa/browser_test_helper.cc
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/browser_test_helper.cc (revision 97074)
|
| +++ chrome/browser/ui/cocoa/browser_test_helper.cc (working copy)
|
| @@ -20,8 +20,6 @@
|
| profile_->CreateAutocompleteClassifier();
|
| profile_->CreateTemplateURLService();
|
|
|
| - SetUpProfileManager();
|
| -
|
| browser_.reset(new Browser(Browser::TYPE_TABBED, profile_.get()));
|
| }
|
|
|
| @@ -58,11 +56,3 @@
|
| // |browser_| will be deleted by its BrowserWindowController.
|
| ignore_result(browser_.release());
|
| }
|
| -
|
| -void BrowserTestHelper::SetUpProfileManager() {
|
| - profile_manager_ = new TestingProfileManager; // Owned by browser_process_.
|
| - browser_process()->SetProfileManager(profile_manager_);
|
| -
|
| - profile_info_.reset(profile_manager_->CreateFakeInfo("Testing Profile"));
|
| - profile_manager_->AddTestingProfile(profile(), profile_info_.get());
|
| -}
|
|
|