| Index: chrome/browser/gtk/tabs/tab_strip_gtk.cc
|
| diff --git a/chrome/browser/gtk/tabs/tab_strip_gtk.cc b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
|
| index 9c4019ef1fb252bdba1b7015bb175e585129cb49..d87fe182f641be4e43191f56877518f073033a00 100644
|
| --- a/chrome/browser/gtk/tabs/tab_strip_gtk.cc
|
| +++ b/chrome/browser/gtk/tabs/tab_strip_gtk.cc
|
| @@ -961,7 +961,7 @@ void TabStripGtk::TabInsertedAt(TabContents* contents,
|
| if (!contains_tab) {
|
| TabData d = { tab, gfx::Rect() };
|
| tab_data_.insert(tab_data_.begin() + index, d);
|
| - tab->UpdateData(contents, model_->IsPhantomTab(index), false);
|
| + tab->UpdateData(contents, false);
|
| }
|
| tab->set_mini(model_->IsMiniTab(index));
|
| tab->SetBlocked(model_->IsTabBlocked(index));
|
| @@ -1021,8 +1021,6 @@ void TabStripGtk::TabMoved(TabContents* contents,
|
| tab->set_mini(model_->IsMiniTab(to_index));
|
| tab->SetBlocked(model_->IsTabBlocked(to_index));
|
| tab_data_.insert(tab_data_.begin() + to_index, data);
|
| - if (tab->phantom() != model_->IsPhantomTab(to_index))
|
| - tab->set_phantom(!tab->phantom());
|
| GenerateIdealBounds();
|
| StartMoveTabAnimation(from_index, to_index);
|
| }
|
| @@ -1038,17 +1036,10 @@ void TabStripGtk::TabChangedAt(TabContents* contents, int index,
|
| // We'll receive another notification of the change asynchronously.
|
| return;
|
| }
|
| - tab->UpdateData(contents, model_->IsPhantomTab(index),
|
| - change_type == LOADING_ONLY);
|
| + tab->UpdateData(contents, change_type == LOADING_ONLY);
|
| tab->UpdateFromModel();
|
| }
|
|
|
| -void TabStripGtk::TabReplacedAt(TabContents* old_contents,
|
| - TabContents* new_contents,
|
| - int index) {
|
| - TabChangedAt(new_contents, index, ALL);
|
| -}
|
| -
|
| void TabStripGtk::TabMiniStateChanged(TabContents* contents, int index) {
|
| GetTabAt(index)->set_mini(model_->IsMiniTab(index));
|
| // Don't animate if the window isn't visible yet. The window won't be visible
|
|
|