| Index: chrome/browser/speech/speech_input_bubble_gtk.cc
|
| diff --git a/chrome/browser/speech/speech_input_bubble_gtk.cc b/chrome/browser/speech/speech_input_bubble_gtk.cc
|
| index 95c183fa6da77db6bcdc81ee813b8070df3e33e6..a8079b6cd6c0451af1c2e8be478a7652f4671f5c 100644
|
| --- a/chrome/browser/speech/speech_input_bubble_gtk.cc
|
| +++ b/chrome/browser/speech/speech_input_bubble_gtk.cc
|
| @@ -196,7 +196,7 @@ void SpeechInputBubbleGtk::UpdateLayout() {
|
| }
|
|
|
| void SpeechInputBubbleGtk::SetImage(const SkBitmap& image) {
|
| - if (image.isNull())
|
| + if (image.isNull() || !info_bubble_)
|
| return;
|
|
|
| GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(&image);
|
| @@ -212,4 +212,3 @@ SpeechInputBubble* SpeechInputBubble::CreateNativeBubble(
|
| const gfx::Rect& element_rect) {
|
| return new SpeechInputBubbleGtk(tab_contents, delegate, element_rect);
|
| }
|
| -
|
|
|