RESOLVED FIXED 54435
Simplify CSSStyleSelector::canShareStyleWithElement
https://bugs.webkit.org/show_bug.cgi?id=54435
Summary Simplify CSSStyleSelector::canShareStyleWithElement
Roland Steiner
Reported 2011-02-14 22:32:11 PST
CSSStyleSelector::canShareStyleWithElement() contains unneeded nesting and temporary variables that can be simplified and made more readable.
Attachments
Patch (9.67 KB, patch)
2011-02-14 22:40 PST, Roland Steiner
tkent: review+
Roland Steiner
Comment 1 2011-02-14 22:40:10 PST
Kent Tamura
Comment 2 2011-02-14 23:12:54 PST
Comment on attachment 82417 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=82417&action=review > Source/WebCore/css/CSSStyleSelector.cpp:1104 > + StyledElement* s = static_cast<StyledElement*>(n); "s" and "n" are not good variable names.
Roland Steiner
Comment 3 2011-02-22 00:24:16 PST
Note You need to log in before you can comment on or make changes to this bug.