WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 139571
Use is<>() / downcast<>() for StyleRuleBase subclasses
https://bugs.webkit.org/show_bug.cgi?id=139571
Summary
Use is<>() / downcast<>() for StyleRuleBase subclasses
Chris Dumez
Reported
2014-12-11 17:26:01 PST
Use is<>() / downcast<>() for StyleRuleBase subclasses for safety.
Attachments
Patch
(27.67 KB, patch)
2014-12-11 17:43 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(27.92 KB, patch)
2014-12-11 18:07 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2014-12-11 17:43:25 PST
Created
attachment 243167
[details]
Patch
Chris Dumez
Comment 2
2014-12-11 18:07:07 PST
Created
attachment 243170
[details]
Patch
Andreas Kling
Comment 3
2014-12-12 11:46:00 PST
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.
Chris Dumez
Comment 4
2014-12-12 12:05:41 PST
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.
WebKit Commit Bot
Comment 5
2014-12-12 12:27:40 PST
Comment on
attachment 243170
[details]
Patch Clearing flags on attachment: 243170 Committed
r177228
: <
http://trac.webkit.org/changeset/177228
>
WebKit Commit Bot
Comment 6
2014-12-12 12:27:45 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug