Index: chrome/browser/history/history_backend.cc |
diff --git a/chrome/browser/history/history_backend.cc b/chrome/browser/history/history_backend.cc |
index 582231ad46382e4cbee0bc23a508d0a4f6aa64f6..8bdaab6c035354379ace403b5ab8411c9cf17c59 100644 |
--- a/chrome/browser/history/history_backend.cc |
+++ b/chrome/browser/history/history_backend.cc |
@@ -1494,12 +1494,12 @@ void HistoryBackend::QueryFilteredURLs( |
// currently 24 hours) to use it directly instead of using visits database, |
// which is considerably slower. |
ScopedVector<PageUsageData> data; |
- data->reserve(score_map.size()); |
+ data.reserve(score_map.size()); |
for (std::map<URLID, double>::iterator it = score_map.begin(); |
it != score_map.end(); ++it) { |
PageUsageData* pud = new PageUsageData(it->first); |
pud->SetScore(it->second); |
- data->push_back(pud); |
+ data.push_back(pud); |
} |
// Limit to the top |result_count| results. |