| Index: chrome/browser/ui/webui/ntp/suggestions_combiner.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/ntp/suggestions_combiner.cc (revision 145001)
|
| +++ chrome/browser/ui/webui/ntp/suggestions_combiner.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| +#include "chrome/browser/ui/browser_tabstrip.h"
|
| #include "chrome/browser/ui/webui/ntp/suggestions_page_handler.h"
|
| #include "chrome/browser/ui/webui/ntp/suggestions_source.h"
|
| #include "chrome/browser/ui/webui/ntp/suggestions_source_discovery.h"
|
| @@ -162,7 +163,7 @@
|
| continue;
|
|
|
| for (int i = 0; i < browser->tab_count(); i++) {
|
| - const content::WebContents* tab = browser->GetWebContentsAt(i);
|
| + const content::WebContents* tab = chrome::GetWebContentsAt(browser, i);
|
| if (tab->GetURL() == url)
|
| return true;
|
| }
|
|
|