DescriptionMerge 68004 - 2010-09-21 Cosmin Truta <ctruta@chromium.org>
Reviewed by James Robinson.
RenderImage::intrinsicSizeChanged crashes when m_imageResource is missing
https://bugs.webkit.org/show_bug.cgi?id=46120
Test a style change applied to a zoomed image.
* css3/style-zoomed-image.html: Added.
* css3/style-zoomed-image-expected.txt: Added.
2010-09-21 Cosmin Truta <ctruta@chromium.org>
Reviewed by James Robinson.
RenderImage::intrinsicSizeChanged crashes when m_imageResource is missing
https://bugs.webkit.org/show_bug.cgi?id=46120
Avoid applying operator -> to m_imageResource when its underlying pointer is NULL.
* rendering/RenderImage.h:
(WebCore::RenderImage::intrinsicSizeChanged): Checked m_imageResource.
* html/HTMLImageElement.cpp:
(HTMLImageElement::createRenderer): Fixed indentation.
TBR=jamesr@google.com
BUG=54972
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68007
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|