| Index: chrome/browser/custom_home_pages_table_model.cc
|
| ===================================================================
|
| --- chrome/browser/custom_home_pages_table_model.cc (revision 145001)
|
| +++ chrome/browser/custom_home_pages_table_model.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/common/pref_names.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "content/public/browser/web_contents.h"
|
| @@ -181,7 +182,7 @@
|
| continue; // Skip incognito browsers.
|
|
|
| for (int tab_index = 0; tab_index < browser->tab_count(); ++tab_index) {
|
| - const GURL url = browser->GetWebContentsAt(tab_index)->GetURL();
|
| + const GURL url = chrome::GetWebContentsAt(browser, tab_index)->GetURL();
|
| if (ShouldAddPage(url))
|
| Add(add_index++, url);
|
| }
|
|
|