Index: chrome/browser/speech/speech_input_bubble.cc |
diff --git a/chrome/browser/speech/speech_input_bubble.cc b/chrome/browser/speech/speech_input_bubble.cc |
index 655415fe4a6968bbd8122efc95582e1f2444a3c5..77619e9098cf0e397a50477ef54a3a8e0fbd15a2 100644 |
--- a/chrome/browser/speech/speech_input_bubble.cc |
+++ b/chrome/browser/speech/speech_input_bubble.cc |
@@ -32,9 +32,10 @@ SpeechInputBubble* SpeechInputBubble::Create(TabContents* tab_contents, |
return CreateNativeBubble(tab_contents, delegate, element_rect); |
} |
-SpeechInputBubbleBase::SpeechInputBubbleBase() |
+SpeechInputBubbleBase::SpeechInputBubbleBase(TabContents* tab_contents) |
: ALLOW_THIS_IN_INITIALIZER_LIST(task_factory_(this)), |
- display_mode_(DISPLAY_MODE_RECORDING) { |
+ display_mode_(DISPLAY_MODE_RECORDING), |
+ tab_contents_(tab_contents) { |
if (!mic_empty_) { // Static variables. |
mic_empty_ = ResourceBundle::GetSharedInstance().GetBitmapNamed( |
IDR_SPEECH_INPUT_MIC_EMPTY); |