Summary: | Use is<>() / downcast<>() for StyleRuleBase subclasses | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> | ||||||
Component: | CSS | Assignee: | Chris Dumez <cdumez> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, commit-queue, dino, kling | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Chris Dumez
2014-12-11 17:26:01 PST
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. |