Fix a ChromeFrame crash in the bind status callback which occurs due to a NULL delegate pointer being dereferenced. It appears that there are cases where the IMoniker::BindToObject function is called with a bind context without a registered callback. In this case we should not do anything.
Fix a ChromeFrame crash in the bind status callback which occurs due to a NULL delegate pointer
being dereferenced. It appears that there are cases where the IMoniker::BindToObject function
is called with a bind context without a registered callback. In this case we should not do anything.

Fix is to revoke our callback if we don't find a previous callback.

This fixes bug http://code.google.com/p/chromium/issues/detail?id=40153

Bug=40153

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

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

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