Index: chrome/browser/history/history_service.cc |
diff --git a/chrome/browser/history/history_service.cc b/chrome/browser/history/history_service.cc |
index b5a971b0adc6a7535326920c7ab55f9e8acdc8bb..e84d4e04778f9a8e3d5fe77f2ea8ec11c4133f9c 100644 |
--- a/chrome/browser/history/history_service.cc |
+++ b/chrome/browser/history/history_service.cc |
@@ -241,7 +241,7 @@ void HistoryService::Cleanup() { |
weak_ptr_factory_.InvalidateWeakPtrs(); |
// Unload the backend. |
- if (history_backend_) { |
+ if (history_backend_.get()) { |
// Get rid of the in-memory backend. |
in_memory_backend_.reset(); |