| 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 f69dcd3669bb0eb342abbac2c19615287783a88a..a06ecace722a38ddc280a927badaaf20f87a9697 100644
|
| --- a/chrome/browser/cocoa/autocomplete_text_field.mm
|
| +++ b/chrome/browser/cocoa/autocomplete_text_field.mm
|
| @@ -204,6 +204,11 @@
|
| [self addCursorRect:[icon rect] cursor:[NSCursor arrowCursor]];
|
| }
|
|
|
| +// TODO(shess): -resetFieldEditorFrameIfNeeded is the place where
|
| +// changes to the cell layout should be flushed. LocationBarViewMac
|
| +// and ToolbarController are calling this routine directly, and I
|
| +// think they are probably wrong.
|
| +// http://crbug.com/40053
|
| - (void)updateCursorAndToolTipRects {
|
| // This will force |resetCursorRects| to be called, as it is not to be called
|
| // directly.
|
| @@ -367,4 +372,9 @@
|
| actionMenuForEvent:event inRect:[self bounds] ofView:self];
|
| }
|
|
|
| +- (NSRect)starIconFrame {
|
| + AutocompleteTextFieldCell* cell = [self autocompleteTextFieldCell];
|
| + return [cell starIconFrameForFrame:[self bounds]];
|
| +}
|
| +
|
| @end
|
|
|