Index: chrome/browser/ui/views/find_bar_view.cc |
diff --git a/chrome/browser/ui/views/find_bar_view.cc b/chrome/browser/ui/views/find_bar_view.cc |
index 69182002081b52a9bbe88e10a6d9ba8b0f531c7a..dcc61fc7cf2b9c500e9492db40dac393802e4336 100644 |
--- a/chrome/browser/ui/views/find_bar_view.cc |
+++ b/chrome/browser/ui/views/find_bar_view.cc |
@@ -310,7 +310,7 @@ void FindBarView::Layout() { |
// We extend the label bounds a bit to give the background highlighting a bit |
// of breathing room (margins around the text). |
sz.Enlarge(kMatchCountExtraWidth, 0); |
- sz.ClampToMin(gfx::Size(kMatchCountMinWidth, 0)); |
+ sz.SetToMax(gfx::Size(kMatchCountMinWidth, 0)); |
int match_count_x = |
find_previous_button_->x() - kWhiteSpaceAfterMatchCountLabel - sz.width(); |
int find_text_y = (height() - find_text_->GetPreferredSize().height()) / 2; |