Title: [109278] trunk/Source/WebCore
Revision
109278
Author
bda...@apple.com
Date
2012-02-29 15:59:59 -0800 (Wed, 29 Feb 2012)

Log Message

Speculative build-fix.

* rendering/RenderImage.cpp:
(WebCore::RenderImage::paintReplaced):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (109277 => 109278)


--- trunk/Source/WebCore/ChangeLog	2012-02-29 23:32:33 UTC (rev 109277)
+++ trunk/Source/WebCore/ChangeLog	2012-02-29 23:59:59 UTC (rev 109278)
@@ -1,5 +1,12 @@
 2012-02-29  Beth Dakin  <bda...@apple.com>
 
+        Speculative build-fix.
+
+        * rendering/RenderImage.cpp:
+        (WebCore::RenderImage::paintReplaced):
+
+2012-02-29  Beth Dakin  <bda...@apple.com>
+
         https://bugs.webkit.org/show_bug.cgi?id=79705
         didNewFirstVisuallyNonEmptyLayout should be enhanced to look at size instead 
         of a raw tally

Modified: trunk/Source/WebCore/rendering/RenderImage.cpp (109277 => 109278)


--- trunk/Source/WebCore/rendering/RenderImage.cpp	2012-02-29 23:32:33 UTC (rev 109277)
+++ trunk/Source/WebCore/rendering/RenderImage.cpp	2012-02-29 23:59:59 UTC (rev 109278)
@@ -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())
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to