| Index: chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
|
| index 48a30ef75872f3e03f2e297d33b845509481837a..cd230fc9f45d901149c0c3a87dcee815c2d25903 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/autocomplete_text_field.mm
|
| @@ -23,6 +23,7 @@
|
| namespace {
|
| const CGFloat kAnimationDuration = 0.2;
|
| const CGFloat kShadowInset = 3;
|
| +const CGFloat kShadowColor = 69 / 255.;
|
|
|
| }
|
|
|
| @@ -85,12 +86,11 @@
|
| // and non-Retina screens there would have to be logic to add and remove the
|
| // view. It's easier just to always add it for Incognito mode and draw
|
| // nothing into it.
|
| - if (![[self window] inIncognitoModeWithSystemTheme] ||
|
| - [self cr_lineWidth] < 1) {
|
| + if (![[self window] inIncognitoMode] || [self cr_lineWidth] < 1) {
|
| return;
|
| }
|
| [[AutocompleteTextField shadowColor] set];
|
| - NSRectFillUsingOperation(rect, NSCompositeSourceOver);
|
| + NSRectFill(rect);
|
| }
|
|
|
| @end
|
| @@ -104,7 +104,7 @@
|
| }
|
|
|
| + (NSColor*)shadowColor {
|
| - return [NSColor colorWithGenericGamma22White:0 alpha:0.14];
|
| + return [NSColor colorWithGenericGamma22White:kShadowColor alpha:1];
|
| }
|
|
|
| - (void)dealloc {
|
|
|