Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index a10f39a81cf2d97573dee41e4dcd87c65b36a1d2..5142f3e7202bac5d6288eef90a94f471c26a2e64 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -422,9 +422,11 @@ void TestingProfile::CreateBookmarkModel(bool delete_file) { |
static scoped_refptr<RefcountedProfileKeyedService> BuildWebDataService( |
Profile* profile) { |
+ base::FilePath path = profile->GetPath(); |
+ path = path.Append(chrome::kWebDataFilename); |
WebDataService* web_data_service = new WebDataService(); |
if (web_data_service) |
- web_data_service->Init(profile->GetPath()); |
+ web_data_service->Init(path); |
return web_data_service; |
} |