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

Unified Diff: Source/WebCore/rendering/RenderThemeMac.mm

Issue 12703032: Revert 146744 "Refactoring: Pull Node::disabled() and Node::isIn..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 9 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 | « Source/WebCore/dom/Node.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/rendering/RenderThemeMac.mm
===================================================================
--- Source/WebCore/rendering/RenderThemeMac.mm (revision 146891)
+++ Source/WebCore/rendering/RenderThemeMac.mm (working copy)
@@ -138,7 +138,7 @@
{
unsigned flags = 0;
- if (node->isElementNode() && toElement(node)->disabled())
+ if (node->disabled())
flags |= MediaUIPartDisabledFlag;
else if (node->active())
flags |= MediaUIPartPressedFlag;
« no previous file with comments | « Source/WebCore/dom/Node.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698