Fixes some fragile code in BrowserViewLayout.
Fixes some fragile code in BrowserViewLayout.

BUG=54833
TEST=none

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

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

Former-commit-id: 79a16a2a3c378c100f705b3d556b6d435dd008f8
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