| Index: Source/core/paint/ThemePainterMac.mm
|
| diff --git a/Source/core/paint/ThemePainterMac.mm b/Source/core/paint/ThemePainterMac.mm
|
| index ffd804b7491d0b7258888eafc43c79d642f66402..95c2f5226ef630de0bae6feffc1332afbe3b0efb 100644
|
| --- a/Source/core/paint/ThemePainterMac.mm
|
| +++ b/Source/core/paint/ThemePainterMac.mm
|
| @@ -184,10 +184,8 @@ bool ThemePainterMac::paintMenuList(LayoutObject* o, const PaintInfo& paintInfo,
|
|
|
| NSView *view = m_layoutTheme.documentViewFor(o);
|
| [popupButton drawWithFrame:inflatedRect inView:view];
|
| -#if !BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
|
| - if (LayoutTheme::isFocused(o) && o->style()->outlineStyleIsAuto())
|
| - [popupButton _web_drawFocusRingWithFrame:inflatedRect inView:view];
|
| -#endif
|
| + if (!ThemeMac::drawWithFrameDrawsFocusRing() && LayoutTheme::isFocused(o) && o->style()->outlineStyleIsAuto())
|
| + [popupButton cr_drawFocusRingWithFrame:inflatedRect inView:view];
|
| [popupButton setControlView:nil];
|
|
|
| return false;
|
|
|