Fix crash in delayed tab resizing. If the Resize Relayout code is called after the last tab has been closed but before the window is destroyed (this whole process is very async) there are zero tabs in the layout and as a result GetTabAt(0) will crash.
Fix crash in delayed tab resizing. If the Resize Relayout code is called after the last tab has been closed but before the window is destroyed (this whole process is very async) there are zero tabs in the layout and as a result GetTabAt(0) will crash.

http://crbug.com/14603
TEST=none

Review URL: http://codereview.chromium.org/150064

git-svn-id: http://src.chromium.org/svn/trunk/src@19557 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

Former-commit-id: da0bbdde445ac6e7c72fbed651a5cc71339f4fa2
meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser,meego-tablet-ux/meego-app-browser