Use is<>() / downcast<>() for StyleRuleBase subclasses for safety.
Created attachment 243167 [details] Patch
Created attachment 243170 [details] Patch
Comment on attachment 243170 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243170&action=review r=me > Source/WebCore/inspector/InspectorCSSAgent.cpp:-1049 > - if (!matchedRules[i]->isStyleRule()) > - continue; Hah, this was silly.
Comment on attachment 243170 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243170&action=review >> Source/WebCore/inspector/InspectorCSSAgent.cpp:-1049 >> - continue; > > Hah, this was silly. It is nice that is<>() / downcast<>() give build failures on useless type checks / casts.
Comment on attachment 243170 [details] Patch Clearing flags on attachment: 243170 Committed r177228: <http://trac.webkit.org/changeset/177228>
All reviewed patches have been landed. Closing bug.