| Index: chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| index af07dbbfc3943c5256da1be1d068872926240d50..6edbc88c281007ba482e0cc377badad478263fce 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.mm
|
| @@ -696,6 +696,14 @@ void LocationBarViewMac::Layout() {
|
| [field_ setNeedsDisplay:YES];
|
| }
|
|
|
| +void LocationBarViewMac::RedrawDecoration(LocationBarDecoration* decoration) {
|
| + AutocompleteTextFieldCell* cell = [field_ cell];
|
| + NSRect frame = [cell frameForDecoration:decoration
|
| + inFrame:[field_ bounds]];
|
| + if (!NSIsEmptyRect(frame))
|
| + [field_ setNeedsDisplayInRect:frame];
|
| +}
|
| +
|
| bool LocationBarViewMac::IsStarEnabled() {
|
| return [field_ isEditable] &&
|
| browser_defaults::bookmarks_enabled &&
|
|
|