| Index: Source/core/paint/ThemePainterMac.mm
|
| diff --git a/Source/core/paint/ThemePainterMac.mm b/Source/core/paint/ThemePainterMac.mm
|
| index fb735903860bb2f710c1a2be43d4e297fa2f7b8f..ef33c5618d053a13d658b41a010daaaae4ef0f2a 100644
|
| --- a/Source/core/paint/ThemePainterMac.mm
|
| +++ b/Source/core/paint/ThemePainterMac.mm
|
| @@ -184,8 +184,10 @@ 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 cr_drawFocusRingWithFrame:inflatedRect inView:view];
|
| + [popupButton _web_drawFocusRingWithFrame:inflatedRect inView:view];
|
| +#endif
|
| [popupButton setControlView:nil];
|
|
|
| return false;
|
|
|