Attempt at preventing a crasher. In some cases TaskManagerResource can still be alive and pointing to a deleted WebContents, not sure how it can happen. Now also listening for TabContent destruction notifications in case we are missing the WebContents one for some reason.
Attempt at preventing a crasher.
In some cases TaskManagerResource can still be alive and pointing to a deleted WebContents, not sure how it can happen.
Now also listening for TabContent destruction notifications in case we are missing the WebContents one for some reason.

BUG=7321
Review URL: http://codereview.chromium.org/21233

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

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