RESOLVED FIXED 122726
Move setPseudoStyle() to RenderImage (from RenderElement.)
https://bugs.webkit.org/show_bug.cgi?id=122726
Summary Move setPseudoStyle() to RenderImage (from RenderElement.)
Andreas Kling
Reported 2013-10-13 05:53:04 PDT
Move setPseudoStyle() to RenderImage (from RenderElement.)
Attachments
Patch (4.49 KB, patch)
2013-10-13 05:53 PDT, Andreas Kling
no flags
Andreas Kling
Comment 1 2013-10-13 05:53:35 PDT
Antti Koivisto
Comment 2 2013-10-13 06:00:52 PDT
Comment on attachment 214098 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=214098&action=review > Source/WebCore/rendering/RenderImage.cpp:79 > +void RenderImage::setPseudoStyle(PassRefPtr<RenderStyle> pseudoStyle) I thought we were getting rid of PassRefPtr
Antti Koivisto
Comment 3 2013-10-13 06:03:02 PDT
Comment on attachment 214098 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=214098&action=review > Source/WebCore/rendering/RenderImage.cpp:86 > + RefPtr<RenderStyle> style = RenderStyle::create(); auto
WebKit Commit Bot
Comment 4 2013-10-13 08:55:06 PDT
Comment on attachment 214098 [details] Patch Clearing flags on attachment: 214098 Committed r157371: <http://trac.webkit.org/changeset/157371>
WebKit Commit Bot
Comment 5 2013-10-13 08:55:08 PDT
All reviewed patches have been landed. Closing bug.
Darin Adler
Comment 6 2013-10-13 14:01:47 PDT
Comment on attachment 214098 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=214098&action=review >> Source/WebCore/rendering/RenderImage.cpp:79 >> +void RenderImage::setPseudoStyle(PassRefPtr<RenderStyle> pseudoStyle) > > I thought we were getting rid of PassRefPtr For return values there is no reason to use it any more. For arguments we have not yet figured out our new approach. But regardless of that, this function does not need a PassRefPtr. It doesn’t seem to take ownership at all.
Note You need to log in before you can comment on or make changes to this bug.