| Index: chrome/browser/cocoa/autocomplete_text_field.mm
|
| diff --git a/chrome/browser/cocoa/autocomplete_text_field.mm b/chrome/browser/cocoa/autocomplete_text_field.mm
|
| index 60d35070885a9a4fb590bb4f9eedd9848b80df9b..f69dcd3669bb0eb342abbac2c19615287783a88a 100644
|
| --- a/chrome/browser/cocoa/autocomplete_text_field.mm
|
| +++ b/chrome/browser/cocoa/autocomplete_text_field.mm
|
| @@ -124,14 +124,10 @@
|
| return;
|
| }
|
|
|
| - // If the user clicked on one of the icons (security icon, Page
|
| - // Actions, etc), let the icon handle the click.
|
| - for (AutocompleteTextFieldIcon* icon in [cell layedOutIcons:bounds]) {
|
| - const NSRect iconRect = [icon rect];
|
| - if (NSMouseInRect(location, iconRect, flipped)) {
|
| - [icon view]->OnMousePressed(iconRect);
|
| - return;
|
| - }
|
| + // Give the cell a chance to intercept clicks in page-actions and
|
| + // other decorative items.
|
| + if ([cell mouseDown:theEvent inRect:bounds ofView:self]) {
|
| + return;
|
| }
|
|
|
| NSText* editor = [self currentEditor];
|
|
|