| Index: chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
|
| diff --git a/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc b/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
|
| index 8d3818baffb3fad93816e71bf366263dc315b755..bd9625241f6984df0f4c3d1b5433c590e9b1120b 100644
|
| --- a/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
|
| +++ b/chrome/browser/ui/sync/profile_signin_confirmation_helper.cc
|
| @@ -33,7 +33,8 @@ namespace {
|
| const int kHistoryEntriesBeforeNewProfilePrompt = 10;
|
|
|
| bool HasBookmarks(Profile* profile) {
|
| - BookmarkModel* bookmarks = BookmarkModelFactory::GetForProfile(profile);
|
| + BookmarkModel* bookmarks =
|
| + BookmarkModelFactory::GetForBrowserContext(profile);
|
| bool has_bookmarks = bookmarks && bookmarks->HasBookmarks();
|
| if (has_bookmarks)
|
| DVLOG(1) << "SigninConfirmationHelper: profile contains bookmarks";
|
|
|