Index: WebCore/rendering/RenderImage.h |
=================================================================== |
--- WebCore/rendering/RenderImage.h (revision 68005) |
+++ WebCore/rendering/RenderImage.h (working copy) |
@@ -61,7 +61,11 @@ |
bool isWidthSpecified() const; |
bool isHeightSpecified() const; |
- virtual void intrinsicSizeChanged() { imageChanged(m_imageResource->imagePtr()); } |
+ virtual void intrinsicSizeChanged() |
+ { |
+ if (m_imageResource) |
+ imageChanged(m_imageResource->imagePtr()); |
+ } |
private: |
virtual const char* renderName() const { return "RenderImage"; } |