Index: chrome/browser/visitedlink_perftest.cc |
diff --git a/chrome/browser/visitedlink_perftest.cc b/chrome/browser/visitedlink_perftest.cc |
index fc412d4aa11652f078f10259cdfa0816c354359c..81848246a57cee13fc75dfa79b222f522967bc81 100644 |
--- a/chrome/browser/visitedlink_perftest.cc |
+++ b/chrome/browser/visitedlink_perftest.cc |
@@ -81,7 +81,7 @@ class VisitedLink : public testing::Test { |
TEST_F(VisitedLink, TestAddAndQuery) { |
// init |
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true, |
- db_name_, 0); |
+ FilePath(db_name_), 0); |
ASSERT_TRUE(master.Init()); |
PerfTimeLogger timer("Visited_link_add_and_query"); |
@@ -112,7 +112,7 @@ TEST_F(VisitedLink, TestLoad) { |
PerfTimeLogger table_initialization_timer("Table_initialization"); |
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true, |
- db_name_, 0); |
+ FilePath(db_name_), 0); |
// time init with empty table |
PerfTimeLogger initTimer("Empty_visited_link_init"); |
@@ -152,7 +152,7 @@ TEST_F(VisitedLink, TestLoad) { |
PerfTimer cold_timer; |
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true, |
- db_name_, 0); |
+ FilePath(db_name_), 0); |
bool success = master.Init(); |
TimeDelta elapsed = cold_timer.Elapsed(); |
ASSERT_TRUE(success); |
@@ -165,7 +165,7 @@ TEST_F(VisitedLink, TestLoad) { |
PerfTimer hot_timer; |
VisitedLinkMaster master(NULL, DummyBroadcastNewTableEvent, NULL, true, |
- db_name_, 0); |
+ FilePath(db_name_), 0); |
bool success = master.Init(); |
TimeDelta elapsed = hot_timer.Elapsed(); |
ASSERT_TRUE(success); |