NULL check web_contents_ to prevent a crash. In the notification observer, web_contents_ can be set to NULL so check for a NULL web_contents_ in GetWindowTitle.  All the other methods check web_contents_ before using it too.
NULL check web_contents_ to prevent a crash.
In the notification observer, web_contents_ can be set to NULL so
check for a NULL web_contents_ in GetWindowTitle.  All the other
methods check web_contents_ before using it too.

BUG=9672

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

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

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