Checked validity of status_widget before calling IsActive method.
Rest of the code seem to suggest that we always check validity of status_area_widget() pointer before calling method on it.
Also a specific comment in the code "status_area_widget() may be NULL during the shutdown." seems to suggest status_area_widget being NULL is expected.
shelf_ could have been a possible culprit here, but before we reach this particular statment, we have already called methods on it, so possibility of status_area_widget() being culprit is more. This bug doesn't repro on my machine so have to go with guess work.

BUG=365631
R=skuhne@chromium.org

Review URL: https://codereview.chromium.org/251343003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@265790 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed