| Index: chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| diff --git a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| index ec48536875a123f3b23732e7f9eb33d415fd9750..f6c2e9701ed7ef4e3fc6542dfd31f635a174284e 100644
|
| --- a/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| +++ b/chrome/browser/ui/views/tab_contents/tab_contents_view_views.cc
|
| @@ -130,11 +130,15 @@ void TabContentsViewViews::SetPageTitle(const std::wstring& title) {
|
| // TODO(anicolao): figure out if there's anything useful to do here
|
| }
|
|
|
| -void TabContentsViewViews::OnTabCrashed() {
|
| +void TabContentsViewViews::OnTabCrashed(base::TerminationStatus status,
|
| + int /* error_code */) {
|
| if (sad_tab_ != NULL)
|
| return;
|
|
|
| - sad_tab_.reset(new SadTabView(tab_contents()));
|
| + sad_tab_.reset(new SadTabView(
|
| + tab_contents(),
|
| + status == TERMINATION_STATUS_PROCESS_WAS_KILLED ?
|
| + SadTabView::KILLED : SadTabView::CRASHED));
|
| RemoveAllChildViews(true);
|
| AddChildView(sad_tab_.get());
|
| Layout();
|
|
|