Index: chrome/browser/history/chrome_history_client.h |
diff --git a/chrome/browser/history/chrome_history_client.h b/chrome/browser/history/chrome_history_client.h |
index fbaffc0e9cbb8ff747137dd451f753cab5dc1cac..aef410d84a82728f8e268cc5e6012d217ebfcef8 100644 |
--- a/chrome/browser/history/chrome_history_client.h |
+++ b/chrome/browser/history/chrome_history_client.h |
@@ -6,6 +6,7 @@ |
#define CHROME_BROWSER_HISTORY_CHROME_HISTORY_CLIENT_H_ |
#include "base/macros.h" |
+#include "base/memory/ref_counted.h" |
#include "components/history/core/browser/history_client.h" |
#include "components/history/core/browser/top_sites_observer.h" |
@@ -55,7 +56,7 @@ class ChromeHistoryClient : public history::HistoryClient, |
// can be constructed. The TopSites does not use the HistoryService nor the |
// HistoryClient during construction (it uses it later, but supports getting |
// an NULL pointer). |
- history::TopSites* top_sites_; |
+ scoped_refptr<history::TopSites> top_sites_; |
DISALLOW_COPY_AND_ASSIGN(ChromeHistoryClient); |
}; |