diff options
Diffstat (limited to 'chrome/browser/tabs/tab_strip_model.cc')
-rw-r--r-- | chrome/browser/tabs/tab_strip_model.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/tabs/tab_strip_model.cc b/chrome/browser/tabs/tab_strip_model.cc index 821c80d..e5ee652 100644 --- a/chrome/browser/tabs/tab_strip_model.cc +++ b/chrome/browser/tabs/tab_strip_model.cc @@ -159,7 +159,7 @@ void TabStripModel::ReplaceTabContentsAt(int index, contents_data_[index]->contents = replacement_contents; FOR_EACH_OBSERVER(TabStripModelObserver, observers_, - TabChangedAt(replacement_contents, index)); + TabChangedAt(replacement_contents, index, false)); // Re-use the logic for selecting tabs to ensure the replacement contents is // shown and sized appropriately. @@ -215,11 +215,11 @@ int TabStripModel::GetIndexOfController( return kNoTab; } -void TabStripModel::UpdateTabContentsStateAt(int index) { +void TabStripModel::UpdateTabContentsStateAt(int index, bool loading_only) { DCHECK(ContainsIndex(index)); FOR_EACH_OBSERVER(TabStripModelObserver, observers_, - TabChangedAt(GetContentsAt(index), index)); + TabChangedAt(GetContentsAt(index), index, loading_only)); } void TabStripModel::CloseAllTabs() { |