Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1241)

Unified Diff: chrome/browser/ui/views/location_bar/ev_bubble_view.cc

Issue 14367021: Rename ClampToMin and ClampToMax (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/location_bar/ev_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/ev_bubble_view.cc b/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
index 136b39ceecb2534eb8822ea7cd3a98cd0ca6bffe..f151e9f2aaae44a8255c2b9442bef3f19846e5a8 100644
--- a/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/ev_bubble_view.cc
@@ -23,7 +23,7 @@ gfx::Size EVBubbleView::GetMinimumSize() {
// Height will be ignored by the LocationBarView.
gfx::Size minimum(GetPreferredSize());
static const int kMinBubbleWidth = 150;
- minimum.ClampToMin(gfx::Size(kMinBubbleWidth, 0));
+ minimum.SetToMax(gfx::Size(kMinBubbleWidth, 0));
return minimum;
}
« no previous file with comments | « chrome/browser/ui/views/find_bar_view.cc ('k') | chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698