| Index: chrome/browser/history/chrome_history_client.cc
|
| diff --git a/chrome/browser/history/chrome_history_client.cc b/chrome/browser/history/chrome_history_client.cc
|
| index b6a529b785df8c44f037eb5a4bf0b8d4ab329c8a..2cb84ae1fdea03d3647eddddf5042c553d68a960 100644
|
| --- a/chrome/browser/history/chrome_history_client.cc
|
| +++ b/chrome/browser/history/chrome_history_client.cc
|
| @@ -17,9 +17,10 @@
|
|
|
| using bookmarks::BookmarkModel;
|
|
|
| -ChromeHistoryClient::ChromeHistoryClient(BookmarkModel* bookmark_model,
|
| - Profile* profile,
|
| - history::TopSites* top_sites)
|
| +ChromeHistoryClient::ChromeHistoryClient(
|
| + BookmarkModel* bookmark_model,
|
| + Profile* profile,
|
| + const scoped_refptr<history::TopSites>& top_sites)
|
| : bookmark_model_(bookmark_model),
|
| profile_(profile),
|
| top_sites_(top_sites) {
|
| @@ -85,8 +86,7 @@ void ChromeHistoryClient::Shutdown() {
|
|
|
| void ChromeHistoryClient::TopSitesLoaded(history::TopSites* top_sites) {
|
| content::NotificationService::current()->Notify(
|
| - chrome::NOTIFICATION_TOP_SITES_LOADED,
|
| - content::Source<Profile>(profile_),
|
| + chrome::NOTIFICATION_TOP_SITES_LOADED, content::Source<Profile>(profile_),
|
| content::Details<history::TopSites>(top_sites));
|
| }
|
|
|
|
|