RESOLVED FIXED Bug 121638
Add covariant RenderElement* Element::renderer()
https://bugs.webkit.org/show_bug.cgi?id=121638
Summary Add covariant RenderElement* Element::renderer()
Antti Koivisto
Reported 2013-09-19 14:24:20 PDT
Tighter typing.
Attachments
patch (10.90 KB, patch)
2013-09-19 14:28 PDT, Antti Koivisto
kling: review+
webkit-ews: commit-queue-
for bots (12.80 KB, patch)
2013-09-20 01:22 PDT, Antti Koivisto
no flags
another (13.28 KB, patch)
2013-09-20 01:42 PDT, Antti Koivisto
no flags
yet another (13.77 KB, patch)
2013-09-20 01:51 PDT, Antti Koivisto
no flags
Antti Koivisto
Comment 1 2013-09-19 14:28:57 PDT
Andreas Kling
Comment 2 2013-09-19 14:37:04 PDT
Comment on attachment 212096 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=212096&action=review > Source/WebCore/ChangeLog:3 > + Add covariant RenderElement* ContainerNode::renderer() ContainerNode -> RenderElement -> Element This is pretty weird-looking. :)
Early Warning System Bot
Comment 3 2013-09-19 14:40:44 PDT
Early Warning System Bot
Comment 4 2013-09-19 14:44:57 PDT
EFL EWS Bot
Comment 5 2013-09-19 14:59:45 PDT
Build Bot
Comment 6 2013-09-19 15:07:24 PDT
Build Bot
Comment 7 2013-09-19 15:28:00 PDT
EFL EWS Bot
Comment 8 2013-09-19 15:33:30 PDT
Build Bot
Comment 9 2013-09-19 18:10:45 PDT
kov's GTK+ EWS bot
Comment 10 2013-09-19 18:37:07 PDT
Antti Koivisto
Comment 11 2013-09-20 01:22:13 PDT
Created attachment 212130 [details] for bots
Antti Koivisto
Comment 12 2013-09-20 01:23:54 PDT
(In reply to comment #2) > (From update of attachment 212096 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=212096&action=review > > > Source/WebCore/ChangeLog:3 > > + Add covariant RenderElement* ContainerNode::renderer() > > ContainerNode -> RenderElement -> Element > This is pretty weird-looking. :) Moved it to RenderElement* Element::renderer() which makes more sense. While all ContainerNode renderers are RenderElements it makes more semantic sense to have it in Element. ContainerNode is not that popular of a type.
Antti Koivisto
Comment 13 2013-09-20 01:42:53 PDT
Antti Koivisto
Comment 14 2013-09-20 01:51:11 PDT
Created attachment 212134 [details] yet another
Antti Koivisto
Comment 15 2013-09-20 01:58:39 PDT
Csaba Osztrogonác
Comment 16 2013-09-20 03:59:20 PDT
Note You need to log in before you can comment on or make changes to this bug.