Index: chrome/browser/ui/views/infobars/translate_infobar_base.cc |
=================================================================== |
--- chrome/browser/ui/views/infobars/translate_infobar_base.cc (revision 72158) |
+++ chrome/browser/ui/views/infobars/translate_infobar_base.cc (working copy) |
@@ -23,7 +23,7 @@ |
normal_background_(InfoBarDelegate::PAGE_ACTION_TYPE), |
error_background_(InfoBarDelegate::WARNING_TYPE) { |
icon_ = new views::ImageView; |
- SkBitmap* image = delegate->GetIcon(); |
+ SkBitmap* image = static_cast<InfoBarDelegate*>(delegate)->GetIcon(); |
if (image) |
icon_->SetImage(image); |
AddChildView(icon_); |