Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4018)

Unified Diff: chrome/browser/bookmarks/bookmark_drag_data_unittest.cc

Issue 3133031: Make TestingProfile use ScopedTempDir. (Closed)
Patch Set: trybots Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_process_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/bookmarks/bookmark_drag_data_unittest.cc
diff --git a/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc b/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc
index d9bf74d32859f3ae00d576cf102381630f8c882f..8da227e79009e01df774cb7b4a5853862ed108ab 100644
--- a/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc
+++ b/chrome/browser/bookmarks/bookmark_drag_data_unittest.cc
@@ -100,7 +100,7 @@ TEST_F(BookmarkDragDataTest, URL) {
EXPECT_TRUE(read_data.GetFirstNode(&profile) == node);
// Make sure asking for the node with a different profile returns NULL.
- TestingProfile profile2(1);
+ TestingProfile profile2;
EXPECT_TRUE(read_data.GetFirstNode(&profile2) == NULL);
// Writing should also put the URL and title on the clipboard.
@@ -146,7 +146,7 @@ TEST_F(BookmarkDragDataTest, Group) {
EXPECT_TRUE(g12 == r_g12);
// A different profile should return NULL for the node.
- TestingProfile profile2(1);
+ TestingProfile profile2;
EXPECT_TRUE(read_data.GetFirstNode(&profile2) == NULL);
}
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_process_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698