| Index: chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| index 7a129a48c2813fc2bd9a39f8f163a31bb07f5223..923c3ec9b1a7c87057ab8edafcd7c153ede88f76 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/ev_bubble_decoration.mm
|
| @@ -72,7 +72,8 @@ NSPoint EVBubbleDecoration::GetBubblePointInFrame(NSRect frame) {
|
| NSMaxY(image_rect) - kPageInfoBubblePointYOffset);
|
| }
|
|
|
| -CGFloat EVBubbleDecoration::GetWidthForSpace(CGFloat width) {
|
| +CGFloat EVBubbleDecoration::GetWidthForSpace(CGFloat width,
|
| + CGFloat text_width) {
|
| // Limit with to not take up too much of the available width, but
|
| // also don't let it shrink too much.
|
| width = std::max(width * kMaxBubbleFraction, kMinElidedBubbleWidth);
|
|
|