| Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| index f7b55825e0ed2cc0bf6c4327197ceacec888c2cf..60be441a839040543608243989312d965faebe7b 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field_cell.mm
|
| @@ -248,10 +248,10 @@ - (NSRect)frameForDecoration:(const LocationBarDecoration*)aDecoration
|
| return decorationFrames[index];
|
| }
|
|
|
| - // Decorations which are not visible should have been filtered out
|
| - // at the top, but return |NSZeroRect| rather than a 0-width rect
|
| - // for consistency.
|
| - NOTREACHED();
|
| + // Decorations which are not visible usually have been filtered out at the
|
| + // top. However, in some cases they are not (e.g., new tabs that have never
|
| + // been foregrounded). As a default, return |NSZeroRect| rather than a 0-width
|
| + // rect for consistency.
|
| return NSZeroRect;
|
| }
|
|
|
|
|