[Webkit-unassigned] [Bug 46120] RenderImage::intrinsicSizeChanged crashes when m_imageResource is missing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 20 19:53:52 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=46120


Cosmin Truta <ctruta at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #68179|                            |review?, commit-queue?
               Flag|                            |




--- Comment #1 from Cosmin Truta <ctruta at chromium.org>  2010-09-20 19:53:52 PST ---
Created an attachment (id=68179)
 --> (https://bugs.webkit.org/attachment.cgi?id=68179)
Fix and layout test

As I mentioned in the previous comment, perhaps a little ambiguously:
Swapping the order of calls to setStyle/setImageResource inside RenderObject::createObject and RenderObjectChildList::updateBeforeAfterContent does not solve the lack of initialization, because initializing a style and initializing an image resource are cyclically dependent on each other. I am, therefore, relying on a simple if-check instead, to avoid this issue altogether.

-- 
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