Title: [86910] branches/chromium/742/Source/WebCore
Revision
86910
Author
[email protected]
Date
2011-05-19 18:01:45 -0700 (Thu, 19 May 2011)

Log Message

2011-05-19  James Robinson  <[email protected]>

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

        Add a speculative null check to see if it reduces the crashrate.

        http://code.google.com/p/chromium-os/issues/detail?id=15377

        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::repaintUsingContainer):

Modified Paths

Diff

Modified: branches/chromium/742/Source/WebCore/ChangeLog (86909 => 86910)


--- branches/chromium/742/Source/WebCore/ChangeLog	2011-05-20 00:56:09 UTC (rev 86909)
+++ branches/chromium/742/Source/WebCore/ChangeLog	2011-05-20 01:01:45 UTC (rev 86910)
@@ -1,3 +1,14 @@
+2011-05-19  James Robinson  <[email protected]>
+
+        https://bugs.webkit.org/show_bug.cgi?id=61159
+
+        Add a speculative null check to see if it reduces the crashrate.
+
+        http://code.google.com/p/chromium-os/issues/detail?id=15377
+
+        * rendering/RenderObject.cpp:
+        (WebCore::RenderObject::repaintUsingContainer):
+
 2011-05-11  Antoine Labour  <[email protected]>
 
         Reviewed by David Levin.

Modified: branches/chromium/742/Source/WebCore/rendering/RenderObject.cpp (86909 => 86910)


--- branches/chromium/742/Source/WebCore/rendering/RenderObject.cpp	2011-05-20 00:56:09 UTC (rev 86909)
+++ branches/chromium/742/Source/WebCore/rendering/RenderObject.cpp	2011-05-20 01:01:45 UTC (rev 86910)
@@ -1163,7 +1163,7 @@
         }
     }
     
-    if (v->usesCompositing()) {
+    if (v->usesCompositing() && layer()->isComposited()) {
         ASSERT(repaintContainer->hasLayer() && repaintContainer->layer()->isComposited());
         repaintContainer->layer()->setBackingNeedsRepaintInRect(r);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to