diff options
Diffstat (limited to 'chrome/browser/visitedlink_perftest.cc')
-rw-r--r-- | chrome/browser/visitedlink_perftest.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/chrome/browser/visitedlink_perftest.cc b/chrome/browser/visitedlink_perftest.cc index 3775fab..d589f92 100644 --- a/chrome/browser/visitedlink_perftest.cc +++ b/chrome/browser/visitedlink_perftest.cc @@ -6,7 +6,6 @@ #include <string> #include <vector> -#include "base/file_path.h" #include "base/file_util.h" #include "base/perftimer.h" #include "base/shared_memory.h" @@ -144,8 +143,7 @@ TEST_F(VisitedLink, TestLoad) { for (int i = 0; i < load_count; i++) { // make sure the file has to be re-loaded - file_util::EvictFileFromSystemCache( - FilePath::FromWStringHack(std::wstring(db_name_))); + file_util::EvictFileFromSystemCache(db_name_.c_str()); // cold load (no OS cache, hopefully) { |