REGRESSION(r173441): [GTK] All buttons appear insensitive
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Sep 2014 15:44:42 +0000 (15:44 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Sep 2014 15:44:42 +0000 (15:44 +0000)
commit6765a867b0fb104fe129890557b31206218ccb92
tree0620d306c6a57482795f80f93fe66734dd9b354c
parente7b77dd5f81f2661bb7d10196828793922ba5196
REGRESSION(r173441): [GTK] All buttons appear insensitive
https://bugs.webkit.org/show_bug.cgi?id=136614

Reviewed by Sergio Villar Senin.

Do not use RenderTheme::isReadOnlyControl() to decide whether to
render non text based forms sensitive or unsensitive, isEnabled()
is enough in those cases.

* rendering/RenderThemeGtk.cpp:
(WebCore::paintToggle):
(WebCore::renderButton):
(WebCore::RenderThemeGtk::paintSliderTrack):
(WebCore::RenderThemeGtk::paintSliderThumb):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderThemeGtk.cpp