Chromium Code Reviews| Index: chrome/browser/ui/tabs/tab_strip_model_utils.cc |
| diff --git a/chrome/browser/ui/tabs/tab_strip_model_utils.cc b/chrome/browser/ui/tabs/tab_strip_model_utils.cc |
| index d3ef0d32843659590af00fef981f6bd14f77a4fe..f8ee7c2b5992e4d923418941019850a278038559 100644 |
| --- a/chrome/browser/ui/tabs/tab_strip_model_utils.cc |
| +++ b/chrome/browser/ui/tabs/tab_strip_model_utils.cc |
| @@ -11,12 +11,12 @@ |
| namespace chrome { |
| void GetOpenUrls(const TabStripModel& tabs, |
| - const history::TopSites& top_sites, |
| + history::TopSites* top_sites, |
|
Bernhard Bauer
2015/01/08 10:22:05
Why this change? There is no need to pass in a poi
Jitu( very slow this week)
2015/01/12 11:30:08
Done.
|
| std::set<std::string>* urls) { |
| for (int i = 0; i < tabs.count(); ++i) { |
| content::WebContents* web_contents = tabs.GetWebContentsAt(i); |
| if (web_contents) |
| - urls->insert(top_sites.GetCanonicalURLString(web_contents->GetURL())); |
| + urls->insert(top_sites->GetCanonicalURLString(web_contents->GetURL())); |
| } |
| } |