Send the close browser window command via a automation message
instead of directly posting a WM_CLOSE to the browser window.

This is a speculative fix to avoid the crash during automated
UI tests. The theory is that the automation message will arrive
after the other automation commands and would give a chance for
graceful shutdown.

BUG=1145714


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