| Index: chrome/browser/ui/views/hung_renderer_view.cc
|
| ===================================================================
|
| --- chrome/browser/ui/views/hung_renderer_view.cc (revision 80859)
|
| +++ chrome/browser/ui/views/hung_renderer_view.cc (working copy)
|
| @@ -6,7 +6,6 @@
|
|
|
| #include "base/i18n/rtl.h"
|
| #include "base/utf_string_conversions.h"
|
| -#include "chrome/browser/favicon_tab_helper.h"
|
| #include "chrome/browser/ui/browser_list.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| #include "chrome/common/chrome_constants.h"
|
| @@ -56,7 +55,7 @@
|
| virtual void GetGroupRangeForItem(int item, views::GroupRange* range);
|
|
|
| private:
|
| - typedef std::vector<TabContentsWrapper*> TabContentsVector;
|
| + typedef std::vector<TabContents*> TabContentsVector;
|
| TabContentsVector tab_contentses_;
|
|
|
| ui::TableModelObserver* observer_;
|
| @@ -78,7 +77,7 @@
|
| for (TabContentsIterator it; !it.done(); ++it) {
|
| if (it->tab_contents()->GetRenderProcessHost() ==
|
| hung_contents->GetRenderProcessHost())
|
| - tab_contentses_.push_back(*it);
|
| + tab_contentses_.push_back((*it)->tab_contents());
|
| }
|
| // The world is different.
|
| if (observer_)
|
| @@ -94,7 +93,7 @@
|
|
|
| string16 HungPagesTableModel::GetText(int row, int column_id) {
|
| DCHECK(row >= 0 && row < RowCount());
|
| - string16 title = tab_contentses_[row]->tab_contents()->GetTitle();
|
| + string16 title = tab_contentses_[row]->GetTitle();
|
| if (title.empty())
|
| title = TabContentsWrapper::GetDefaultTitle();
|
| // TODO(xji): Consider adding a special case if the title text is a URL,
|
| @@ -106,7 +105,7 @@
|
|
|
| SkBitmap HungPagesTableModel::GetIcon(int row) {
|
| DCHECK(row >= 0 && row < RowCount());
|
| - return tab_contentses_.at(row)->favicon_tab_helper()->GetFavicon();
|
| + return tab_contentses_.at(row)->GetFavicon();
|
| }
|
|
|
| void HungPagesTableModel::SetObserver(ui::TableModelObserver* observer) {
|
|
|