2009-01-30 Simon Fraser <simon.fraser@apple.com>
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Jan 2009 21:48:23 +0000 (21:48 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Jan 2009 21:48:23 +0000 (21:48 +0000)
        Reviewed by Dave Hyatt

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

        Really use the container-relative repaint rect methods
        for repaint during layout

        * rendering/RenderObject.h:
        (WebCore::RenderObject::LayoutRepainter::LayoutRepainter):

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

WebCore/ChangeLog
WebCore/rendering/RenderObject.h

index 2bc6701..dc6a65e 100644 (file)
@@ -1,3 +1,15 @@
+2009-01-30  Simon Fraser  <simon.fraser@apple.com>
+
+        Reviewed by Dave Hyatt
+
+        https://bugs.webkit.org/show_bug.cgi?id=23360
+
+        Really use the container-relative repaint rect methods
+        for repaint during layout
+
+        * rendering/RenderObject.h:
+        (WebCore::RenderObject::LayoutRepainter::LayoutRepainter):
+
 2009-01-30  Anders Carlsson  <andersca@apple.com>
 
         Reviewed by Darin Adler.
index d023dfe..e3725b6 100644 (file)
@@ -808,9 +808,9 @@ protected:
             , m_checkForRepaint(checkForRepaint)
         {
             if (m_checkForRepaint) {
-                m_oldBounds = oldBounds ? *oldBounds : m_object.absoluteClippedOverflowRect();
-                m_oldOutlineBox = m_object.absoluteOutlineBounds();
                 m_repaintContainer = m_object.containerForRepaint();
+                m_oldBounds = oldBounds ? *oldBounds : m_object.clippedOverflowRectForRepaint(m_repaintContainer);
+                m_oldOutlineBox = m_object.outlineBoundsForRepaint(m_repaintContainer);
             }
         }