Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
index b98ede0f8571798093fd79e123a3ccf318d4ce32..a8dc1224fda879c99215c43dc6f1668b9932346a 100644 |
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc |
@@ -113,7 +113,7 @@ void IconLabelBubbleView::Layout() { |
// this up when MD is on by default. |
bool icon_has_enough_padding = |
!is_extension_icon_ || ui::MaterialDesignController::IsModeMaterial(); |
- const int image_width = image()->GetPreferredSize().width(); |
+ const int image_width = image_->GetPreferredSize().width(); |
image_->SetBounds(std::min((width() - image_width) / 2, |
GetBubbleOuterPadding(icon_has_enough_padding)), |
0, image_->GetPreferredSize().width(), height()); |