Fix crash in TabContentsViewViews::Focus. This was caused by r125126. The subtle bug is that the SadTabHelper's Observe function use to reset TabContentsViewView's Widget pointer before it deleted the sad tab Widget. With my change, TabContentsViewWin would call SadTabHelper in the middle of its sad_tab_.reset() call and would use a Widget that's being destructed.

BUG=117668
Review URL: https://chromiumcodereview.appspot.com/9733023

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127686 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed