summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc')
-rw-r--r--chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc b/chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc
index 5161ac7..4099503 100644
--- a/chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc
+++ b/chrome/browser/ui/gtk/speech_recognition_bubble_gtk.cc
@@ -252,8 +252,8 @@ void SpeechRecognitionBubbleGtk::UpdateLayout() {
gtk_widget_get_child_requisition(cancel_button_, &cancel_size);
GtkRequisition label_size;
gtk_widget_get_child_requisition(label_, &label_size);
- SkBitmap* volume = ResourceBundle::GetSharedInstance().GetBitmapNamed(
- IDR_SPEECH_INPUT_MIC_EMPTY);
+ gfx::ImageSkia* volume = ResourceBundle::GetSharedInstance().
+ GetImageSkiaNamed(IDR_SPEECH_INPUT_MIC_EMPTY);
int desired_width = std::max(volume->width(), cancel_size.width) +
kIconHorizontalPadding * 2;
int desired_height = volume->height() + label_size.height +
@@ -274,7 +274,7 @@ void SpeechRecognitionBubbleGtk::UpdateLayout() {
}
void SpeechRecognitionBubbleGtk::UpdateImage() {
- SkBitmap image = icon_image();
+ gfx::ImageSkia image = icon_image();
if (image.isNull() || !bubble_)
return;