Fix a bug that caused a crash by NULL pointer dereference.
Fix a bug that caused a crash by NULL pointer dereference.

BUG=40624
TEST=manually

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

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

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