Fix crash due to NULL deref.
Fix crash due to NULL deref.

http://crbug.com/3183
Review URL: http://codereview.chromium.org/8069

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

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