[Mac] Radio buttons and checkboxes vanish when redrawn
authordino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jun 2014 05:25:32 +0000 (05:25 +0000)
committerdino@apple.com <dino@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 26 Jun 2014 05:25:32 +0000 (05:25 +0000)
commit528a433ef086681dd650a8f69142639f04502b45
tree240595696736bad7e1e5513f686f844658c4a333
parentc1dfb86ea9e79e44fbc152c02cd50180c7de3073
[Mac] Radio buttons and checkboxes vanish when redrawn
https://bugs.webkit.org/show_bug.cgi?id=134335

Reviewed by Dan Bernstein.

I screwed up when landing r170343 by moving some code around
which broke the logic. We need to query the animation
state for controls after we draw (both statically and animated).

* platform/mac/ThemeMac.mm:
(WebCore::paintToggleButton): We need to check the state of animation again, after
we draw.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@170467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/mac/ThemeMac.mm