Speech Input: always abort when user clicks outside speech bubble.

This prevents a race which would lead to a browser crash (null ptr deref) when
a speech input icon is clicked on repeatedly:

 1. User clicks speech icon
 2. We show speech bubble, ask sound system to start recording
 3. User clicks outside bubble, we close it
 3a. Speech system not recording yet, so we don't abort session
 4. Sound system calls back: "Here's some audio!"
 5. We try to update the bubble which dosn't exist anymore.

This patch fixes 3a; we should just always abort here.

BUG=146689
TEST=manual (click speech icon rapidly many times)


Review URL: https://chromiumcodereview.appspot.com/10960010

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