From f9dec948e612a87167f6c7068ebfd1c53b1ac7ba Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Fri, 20 Aug 2010 20:42:19 +0000 Subject: Make TestingProfile use ScopedTempDir. Add some logic that tries to recover from common errors that happen on the bots. We need to CHECK in really bad cases because otherwise we'd end up writing to places where we should never write, like the filesystem root. TEST=unit_tests and others BUG=51833 Review URL: http://codereview.chromium.org/3133031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56909 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/bookmark_bar_view_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chrome/browser/views/bookmark_bar_view_unittest.cc') diff --git a/chrome/browser/views/bookmark_bar_view_unittest.cc b/chrome/browser/views/bookmark_bar_view_unittest.cc index 126c668..b84e6b3 100644 --- a/chrome/browser/views/bookmark_bar_view_unittest.cc +++ b/chrome/browser/views/bookmark_bar_view_unittest.cc @@ -34,7 +34,7 @@ TEST_F(BookmarkBarViewTest, SwitchProfile) { EXPECT_EQ(1, bookmark_bar.GetBookmarkButtonCount()); - TestingProfile profile2(0); + TestingProfile profile2; profile2.CreateBookmarkModel(true); profile2.BlockUntilBookmarkModelLoaded(); -- cgit v1.1