Try to fix the Apple LLVM Compiler build after r88087.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Jun 2011 04:35:59 +0000 (04:35 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 4 Jun 2011 04:35:59 +0000 (04:35 +0000)
* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintMask):
* rendering/RenderTableCell.h:

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderTableCell.cpp
Source/WebCore/rendering/RenderTableCell.h

index 685e913..de25937 100644 (file)
@@ -1,3 +1,11 @@
+2011-06-03  Dan Bernstein  <mitz@apple.com>
+
+        Try to fix the Apple LLVM Compiler build after r88087.
+
+        * rendering/RenderTableCell.cpp:
+        (WebCore::RenderTableCell::paintMask):
+        * rendering/RenderTableCell.h:
+
 2011-06-03  Chris Rogers  <crogers@google.com>
 
         Unreviewed build fix.
index 9324711..b5f06aa 100644 (file)
@@ -1020,7 +1020,7 @@ void RenderTableCell::paintBoxDecorations(PaintInfo& paintInfo, const IntPoint&
     paintBorder(paintInfo.context, paintRect, style());
 }
 
-void RenderTableCell::paintMask(PaintInfo& paintInfo, IntSize paintOffset)
+void RenderTableCell::paintMask(PaintInfo& paintInfo, const IntPoint& paintOffset)
 {
     if (style()->visibility() != VISIBLE || paintInfo.phase != PaintPhaseMask)
         return;
@@ -1029,7 +1029,7 @@ void RenderTableCell::paintMask(PaintInfo& paintInfo, IntSize paintOffset)
     if (!tableElt->collapseBorders() && style()->emptyCells() == HIDE && !firstChild())
         return;
    
-    paintMaskImages(paintInfo, IntRect(toPoint(paintOffset), size()));
+    paintMaskImages(paintInfo, IntRect(paintOffset, size()));
 }
 
 void RenderTableCell::scrollbarsChanged(bool horizontalScrollbarChanged, bool verticalScrollbarChanged)
index e57846f..ce3ace4 100644 (file)
@@ -143,7 +143,7 @@ private:
     virtual void computeLogicalWidth();
 
     virtual void paintBoxDecorations(PaintInfo&, const IntPoint&);
-    virtual void paintMask(PaintInfo&, IntSize);
+    virtual void paintMask(PaintInfo&, const IntPoint&);
 
     virtual IntSize offsetFromContainer(RenderObject*, const IntPoint&) const;
     virtual IntRect clippedOverflowRectForRepaint(RenderBoxModelObject* repaintContainer);