| Index: chrome/browser/bookmarks/bookmark_model_unittest.cc
|
| diff --git a/chrome/browser/bookmarks/bookmark_model_unittest.cc b/chrome/browser/bookmarks/bookmark_model_unittest.cc
|
| index 06610d715c6c3f94f54829fdbef50248866c0e97..65f5c65d756abe9153a75b7d0b81ac504bd0974c 100644
|
| --- a/chrome/browser/bookmarks/bookmark_model_unittest.cc
|
| +++ b/chrome/browser/bookmarks/bookmark_model_unittest.cc
|
| @@ -910,15 +910,6 @@ class BookmarkModelTestWithProfile : public testing::Test {
|
| ui_test_utils::WaitForBookmarkModelToLoad(bb_model_);
|
| }
|
|
|
| - // Destroys the current profile, creates a new one and creates the history
|
| - // service.
|
| - void RecreateProfile() {
|
| - // Need to shutdown the old one before creating a new one.
|
| - profile_.reset(NULL);
|
| - profile_.reset(new TestingProfile());
|
| - profile_->CreateHistoryService(true, false);
|
| - }
|
| -
|
| // The profile.
|
| scoped_ptr<TestingProfile> profile_;
|
| BookmarkModel* bb_model_;
|
| @@ -954,7 +945,7 @@ TEST_F(BookmarkModelTestWithProfile, CreateAndRestore) {
|
| profile_.reset(NULL);
|
| profile_.reset(new TestingProfile());
|
| profile_->CreateBookmarkModel(true);
|
| - profile_->CreateHistoryService(true, false);
|
| + ASSERT_TRUE(profile_->CreateHistoryService(true, false));
|
| BlockTillBookmarkModelLoaded();
|
|
|
| TestNode bbn;
|
|
|