Loading page on potterybankids causes reproducible assertion failure in debug builds
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Sep 2011 23:30:59 +0000 (23:30 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Sep 2011 23:30:59 +0000 (23:30 +0000)
https://bugs.webkit.org/show_bug.cgi?id=69185
<rdar://problem/10218241>

Reviewed by Simon Fraser.

* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::computeRepaintRects): Remove assert condition that isn't guaranteed
to be true.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96437 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderLayer.cpp

index 84520cb..30fb974 100644 (file)
@@ -1,3 +1,15 @@
+2011-09-30  Maciej Stachowiak  <mjs@apple.com>
+
+        Loading page on potterybankids causes reproducible assertion failure in debug builds
+        https://bugs.webkit.org/show_bug.cgi?id=69185
+        <rdar://problem/10218241>
+
+        Reviewed by Simon Fraser.
+
+        * rendering/RenderLayer.cpp:
+        (WebCore::RenderLayer::computeRepaintRects): Remove assert condition that isn't guaranteed
+        to be true.
+
 2011-09-30  Johnny Ding  <jnd@chromium.org>
 
         Support -webkit-tap-highlight-color when enabling touch events support.
index 1da7417..e3025a6 100644 (file)
@@ -400,7 +400,6 @@ LayoutRect RenderLayer::repaintRectIncludingDescendants() const
 
 void RenderLayer::computeRepaintRects(IntPoint* offsetFromRoot)
 {
-    ASSERT(m_hasVisibleContent);
     ASSERT(!m_visibleContentStatusDirty);
 
     RenderBoxModelObject* repaintContainer = renderer()->containerForRepaint();