Speculative build-fix.
* rendering/RenderImage.cpp:
(WebCore::RenderImage::paintReplaced):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/rendering/RenderImage.cpp b/Source/WebCore/rendering/RenderImage.cpp
index 8a4c96a..395ec4c 100644
--- a/Source/WebCore/rendering/RenderImage.cpp
+++ b/Source/WebCore/rendering/RenderImage.cpp
@@ -338,7 +338,7 @@
return;
}
- if (page && paintInfo.phase == PaintPhaseForeground) {
+ if (cachedImage() && page && paintInfo.phase == PaintPhaseForeground) {
// For now, count images as unpainted if they are still progressively loading. We may want
// to refine this in the future to account for the portion of the image that has painted.
if (cachedImage()->isLoading())