Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(838)

Unified Diff: Source/core/layout/LayoutThemeMac.mm

Issue 368003002: Check if drawFocusRingMaskWithFrame:inView: exists when drawing focus ring (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/paint/ThemePainterMac.mm » ('j') | Source/platform/mac/WebCoreNSCellExtras.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutThemeMac.mm
diff --git a/Source/core/layout/LayoutThemeMac.mm b/Source/core/layout/LayoutThemeMac.mm
index 3f09121fe1bf322e9b1f45181793c57d71626253..13c567cb6f0067424b3f7c8c9f6ab498982b8048 100644
--- a/Source/core/layout/LayoutThemeMac.mm
+++ b/Source/core/layout/LayoutThemeMac.mm
@@ -878,9 +878,7 @@ void LayoutThemeMac::setPopupButtonCellState(const LayoutObject* o, const IntRec
updateCheckedState(popupButton, o);
updateEnabledState(popupButton, o);
updatePressedState(popupButton, o);
-#if BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
updateFocusedState(popupButton, o);
-#endif
}
const IntSize* LayoutThemeMac::menuListSizes() const
« no previous file with comments | « no previous file | Source/core/paint/ThemePainterMac.mm » ('j') | Source/platform/mac/WebCoreNSCellExtras.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698