summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/bookmark_bar_view_unittest.cc
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 20:42:19 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-20 20:42:19 +0000
commitf9dec948e612a87167f6c7068ebfd1c53b1ac7ba (patch)
tree5b9625452d76d956cb4ab108bc712b10b5d68709 /chrome/browser/views/bookmark_bar_view_unittest.cc
parentbc12f05d2baf5a3f2aa8f084fbad48e42ef5a1c8 (diff)
downloadchromium_src-f9dec948e612a87167f6c7068ebfd1c53b1ac7ba.zip
chromium_src-f9dec948e612a87167f6c7068ebfd1c53b1ac7ba.tar.gz
chromium_src-f9dec948e612a87167f6c7068ebfd1c53b1ac7ba.tar.bz2
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
Diffstat (limited to 'chrome/browser/views/bookmark_bar_view_unittest.cc')
-rw-r--r--chrome/browser/views/bookmark_bar_view_unittest.cc2
1 files changed, 1 insertions, 1 deletions
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();