| Index: chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| diff --git a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| index 2d29915dfa517d385eb023209b41670067d79d69..9023fa56e19d727de9188a90d645104284b1f709 100644
|
| --- a/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| +++ b/chrome/browser/ui/cocoa/location_bar/content_setting_decoration.mm
|
| @@ -312,6 +312,7 @@ bool ContentSettingDecoration::OnMousePressed(NSRect frame, NSPoint location) {
|
| [ContentSettingBubbleController showForModel:model
|
| webContents:web_contents
|
| parentWindow:[field window]
|
| + decoration:this
|
| anchoredAt:anchor];
|
| }
|
|
|
| @@ -386,7 +387,7 @@ void ContentSettingDecoration::DrawInFrame(NSRect frame, NSView* control_view) {
|
| DrawAttributedString(animated_text_, remainder);
|
|
|
| // Draw the divider if available.
|
| - if (state() == LocationBarDecorationState::NORMAL) {
|
| + if (state() == DecorationMouseState::NONE && !active()) {
|
| NSBezierPath* line = [NSBezierPath bezierPath];
|
| [line setLineWidth:1];
|
| [line moveToPoint:NSMakePoint(NSMaxX(background_rect) - kDividerPadding,
|
|
|