| Index: chrome/browser/tabs/tab_strip_model.cc
|
| ===================================================================
|
| --- chrome/browser/tabs/tab_strip_model.cc (revision 13559)
|
| +++ chrome/browser/tabs/tab_strip_model.cc (working copy)
|
| @@ -159,7 +159,7 @@
|
| 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 @@
|
| 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() {
|
|
|