Index: chrome/browser/ui/views/location_bar/icon_label_bubble_view_unittest.cc |
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view_unittest.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view_unittest.cc |
index a686b587675d6566d41497434d0acef5a3ffa93b..a1b830547ca1d286c7248232f51391e4eba238d5 100644 |
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view_unittest.cc |
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view_unittest.cc |
@@ -59,7 +59,8 @@ class TestIconLabelBubbleView : public IconLabelBubbleView { |
SkColor GetBorderColor() const override { return kTestColor; } |
bool ShouldShowBackground() const override { |
- return !IsShrinking() || label()->width() > 0; |
+ return !IsShrinking() || |
+ (width() >= MinimumWidthForImageWithBackgroundShown()); |
} |
double WidthMultiplier() const override { |