| Index: chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| index 9aaf4e464d9f03f1778fe6d61acc5541499025f6..fc23d2ea00520ae84f3af7777a82308fe9722c31 100644
|
| --- a/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/content_setting_image_view.cc
|
| @@ -176,7 +176,8 @@ SkColor ContentSettingImageView::GetBorderColor() const {
|
| }
|
|
|
| bool ContentSettingImageView::ShouldShowBackground() const {
|
| - return (!IsShrinking() || label()->width() > 0) &&
|
| + return (!IsShrinking() ||
|
| + (width() >= MinimumWidthForImageWithBackgroundShown())) &&
|
| (slide_animator_.is_animating() || pause_animation_);
|
| }
|
|
|
|
|