Index: chrome/test/base/testing_profile.cc |
diff --git a/chrome/test/base/testing_profile.cc b/chrome/test/base/testing_profile.cc |
index 4f0158d6d573862e37afa00800bc0d9fcac4428d..fb9737af3a44041ac0de838e97362b6cc016719f 100644 |
--- a/chrome/test/base/testing_profile.cc |
+++ b/chrome/test/base/testing_profile.cc |
@@ -459,7 +459,7 @@ void TestingProfile::DestroyHistoryService() { |
if (!history_service) |
return; |
- history_service->NotifyRenderProcessHostDestruction(0); |
+ history_service->ClearCachedDataForContextID(0); |
history_service->SetOnBackendDestroyTask(base::MessageLoop::QuitClosure()); |
history_service->Cleanup(); |
HistoryServiceFactory::ShutdownForProfile(this); |