RESOLVED FIXED 119596
StyleRule*::properties() should return const references.
https://bugs.webkit.org/show_bug.cgi?id=119596
Summary StyleRule*::properties() should return const references.
Andreas Kling
Reported 2013-08-08 14:33:38 PDT
Rules should always have properties inside them, so we should return const references instead of pointers. This will expose pointless null checks.
Attachments
Patch (26.50 KB, patch)
2013-08-08 14:39 PDT, Andreas Kling
webkit-ews: commit-queue-
Patch (44.28 KB, patch)
2013-08-09 02:20 PDT, Andreas Kling
koivisto: review+
eflews.bot: commit-queue-
Andreas Kling
Comment 1 2013-08-08 14:39:07 PDT
Early Warning System Bot
Comment 2 2013-08-08 14:44:58 PDT
Early Warning System Bot
Comment 3 2013-08-08 14:46:27 PDT
EFL EWS Bot
Comment 4 2013-08-08 14:47:31 PDT
EFL EWS Bot
Comment 5 2013-08-08 14:51:34 PDT
Andreas Kling
Comment 6 2013-08-08 16:00:51 PDT
Comment on attachment 208371 [details] Patch Keyframe rules appear to be the exception here. Needs some tlc.
Andreas Kling
Comment 7 2013-08-09 02:20:36 PDT
Antti Koivisto
Comment 8 2013-08-09 02:23:04 PDT
Comment on attachment 208407 [details] Patch r=me
EFL EWS Bot
Comment 9 2013-08-09 02:29:15 PDT
EFL EWS Bot
Comment 10 2013-08-09 02:30:07 PDT
Andreas Kling
Comment 11 2013-08-09 03:00:22 PDT
Note You need to log in before you can comment on or make changes to this bug.