From 152e959a87d64e4f859ad9a029516c494e015d2e Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Mon, 10 May 2010 15:35:38 +0000 Subject: I don't know how it could happen, but according to this bug it's possible for a phantom tab to show the crashed icons. This should make it so that can never happen. BUG=40118 TEST=none Review URL: http://codereview.chromium.org/2035008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46816 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/views/tabs/tab_renderer.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/browser/views/tabs/tab_renderer.cc b/chrome/browser/views/tabs/tab_renderer.cc index a6404bb..e717809 100644 --- a/chrome/browser/views/tabs/tab_renderer.cc +++ b/chrome/browser/views/tabs/tab_renderer.cc @@ -336,6 +336,8 @@ void TabRenderer::UpdateData(TabContents* contents, else data_.favicon = contents->GetFavIcon(); data_.phantom = phantom; + if (phantom) + data_.crashed = false; // Phantom tabs can never crash. // Sets the accessible name for the tab. SetAccessibleName(UTF16ToWide(data_.title)); -- cgit v1.1