| Index: chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| index 1324e00fd318e3b1b35661ca103cd93d49259d0a..ad4121efb625cae6019b2149ae8812bfb0fb39cc 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| @@ -264,12 +264,6 @@ ContentSettingDecoration::CreateAnimatedText() {
|
| }
|
|
|
| NSPoint ContentSettingDecoration::GetBubblePointInFrame(NSRect frame) {
|
| - // Compute the frame as if there is no animation pill in the Omnibox. Place
|
| - // the bubble where the icon would be without animation, so when the animation
|
| - // ends, the bubble is pointing in the right place.
|
| - NSSize image_size = [GetImage() size];
|
| - frame.origin.x += frame.size.width - image_size.width;
|
| - frame.size = image_size;
|
|
|
| const NSRect draw_frame = GetDrawRectInFrame(frame);
|
| return NSMakePoint(NSMidX(draw_frame),
|
|
|