| 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 69568056e7336fc6bba5f02cb0d46239adac7135..04f460552bfd84a63ce41cb9946674b060a71e84 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_);
|
| }
|
|
|
|
|