Avoid closing speech input UI bubble twice.

Some Mac OS Leopard versions were affected by a bug caused by trying to close a speech UI bubble that was being already closed.
It has been checked in all platforms that the bubble is closed before calling the focus lose event, making it unnecesary to close it again.

BUG=70251
TEST=none

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72506 0039d316-1c4b-4281-b951-d872f2087c98
parent b7d08200
...@@ -201,7 +201,6 @@ void SpeechInputBubbleController::InfoBubbleFocusChanged() { ...@@ -201,7 +201,6 @@ void SpeechInputBubbleController::InfoBubbleFocusChanged() {
int old_bubble_caller_id = current_bubble_caller_id_; int old_bubble_caller_id = current_bubble_caller_id_;
current_bubble_caller_id_ = 0; current_bubble_caller_id_ = 0;
bubbles_[old_bubble_caller_id]->Hide();
BrowserThread::PostTask( BrowserThread::PostTask(
BrowserThread::IO, FROM_HERE, BrowserThread::IO, FROM_HERE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment