[Webkit-unassigned] [Bug 43779] RenderImage::imageChanged invalidates wrong area
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 25 05:52:33 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43779
--- Comment #43 from Patrick R. Gansterer <paroga at paroga.com> 2010-08-25 05:52:33 PST ---
(In reply to comment #42)
> (From update of attachment 65341 [details])
> Hi Patrick,
>
> unfortunately there are still some issues, that I missed before:
>
> WebCore/rendering/RenderImageResource.cpp:36
> + PassOwnPtr<RenderImageResource> RenderImageResource::create(RenderObject* renderer, StyleImage* styleImage)
> This solution is not a good idea, the RenderImageResource::create method, should only ever created a RenderImageResource object, not a RenderImageResourceStyleImage.
> Otherwhise the design is pretty confusing. That in turn also means RenderImage shouldn't receive the new StyleImage* constructor parameter, I think its better if it would take a PassOwnPtr<RenderImageResource> that can be stored as m_imageResource member variable.
RenderImageResource::create needs a RenderObject* as a first parameter! Where should I get it from, when I use it in the constructor of RenderImage?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list