Title: [112074] branches/subpixellayout/Source/WebCore/rendering
Revision
112074
Author
[email protected]
Date
2012-03-26 04:00:28 -0700 (Mon, 26 Mar 2012)

Log Message

Removing an unused paramter in LayoutRepainter.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/rendering/LayoutRepainter.cpp (112073 => 112074)


--- branches/subpixellayout/Source/WebCore/rendering/LayoutRepainter.cpp	2012-03-26 10:51:41 UTC (rev 112073)
+++ branches/subpixellayout/Source/WebCore/rendering/LayoutRepainter.cpp	2012-03-26 11:00:28 UTC (rev 112074)
@@ -30,14 +30,14 @@
 
 namespace WebCore {
 
-LayoutRepainter::LayoutRepainter(RenderObject& object, bool checkForRepaint, const LayoutRect* oldBounds)
+LayoutRepainter::LayoutRepainter(RenderObject& object, bool checkForRepaint)
     : m_object(object)
     , m_repaintContainer(0)
     , m_checkForRepaint(checkForRepaint)
 {
     if (m_checkForRepaint) {
         m_repaintContainer = m_object.containerForRepaint();
-        m_oldBounds = oldBounds ? *oldBounds : m_object.clippedOverflowRectForRepaint(m_repaintContainer);
+        m_oldBounds = m_object.clippedOverflowRectForRepaint(m_repaintContainer);
         m_oldOutlineBox = m_object.outlineBoundsForRepaint(m_repaintContainer);
     }
 }

Modified: branches/subpixellayout/Source/WebCore/rendering/LayoutRepainter.h (112073 => 112074)


--- branches/subpixellayout/Source/WebCore/rendering/LayoutRepainter.h	2012-03-26 10:51:41 UTC (rev 112073)
+++ branches/subpixellayout/Source/WebCore/rendering/LayoutRepainter.h	2012-03-26 11:00:28 UTC (rev 112074)
@@ -35,7 +35,7 @@
 
 class LayoutRepainter {
 public:
-    LayoutRepainter(RenderObject&, bool checkForRepaint, const LayoutRect* oldBounds = 0);
+    LayoutRepainter(RenderObject&, bool checkForRepaint);
 
     bool checkForRepaint() const { return m_checkForRepaint; }
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to