| Index: components/sessions/core/tab_restore_service_helper.cc
|
| diff --git a/components/sessions/core/tab_restore_service_helper.cc b/components/sessions/core/tab_restore_service_helper.cc
|
| index e21968671100a0448bc0ba2912e466f2b2e4b2df..07651f9a03c6e70e2307e0a5c5dd593db535252d 100644
|
| --- a/components/sessions/core/tab_restore_service_helper.cc
|
| +++ b/components/sessions/core/tab_restore_service_helper.cc
|
| @@ -361,7 +361,7 @@ void TabRestoreServiceHelper::PopulateTab(Tab* tab,
|
| LiveTab* live_tab) {
|
| const int pending_index = live_tab->GetPendingEntryIndex();
|
| int entry_count =
|
| - live_tab->IsInitialNavigation() ? 0 : live_tab->GetEntryCount();
|
| + live_tab->IsInitialBlankNavigation() ? 0 : live_tab->GetEntryCount();
|
| if (entry_count == 0 && pending_index == 0)
|
| entry_count++;
|
| tab->navigations.resize(static_cast<int>(entry_count));
|
|
|