Fix shutdown crash by sending the close notification at a point earlier in the sequence when the NotificationService is still alive.
Fix shutdown crash by sending the close notification at a point earlier in the sequence when the NotificationService is still alive.

BUG=44110
TEST=shutdown browser with notification open (need debugger to catch crash)

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

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

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