| Index: chrome/browser/memory_purger.cc
|
| diff --git a/chrome/browser/memory_purger.cc b/chrome/browser/memory_purger.cc
|
| index 98ab3011652cfb788548ee695897a33380e4e56a..44a04ddce47f5e18f12161397d9601feb4e61484 100644
|
| --- a/chrome/browser/memory_purger.cc
|
| +++ b/chrome/browser/memory_purger.cc
|
| @@ -120,7 +120,7 @@ void MemoryPurger::PurgeBrowser() {
|
| WebDataServiceWrapper* wds_wrapper =
|
| WebDataServiceFactory::GetForProfileIfExists(
|
| profiles[i], Profile::EXPLICIT_ACCESS);
|
| - if (wds_wrapper && wds_wrapper->GetWebData())
|
| + if (wds_wrapper && wds_wrapper->GetWebData().get())
|
| wds_wrapper->GetWebData()->UnloadDatabase();
|
|
|
| BrowserContext::PurgeMemory(profiles[i]);
|
|
|