Title: [88090] trunk/Source/WebCore
Revision
88090
Author
m...@apple.com
Date
2011-06-03 21:35:59 -0700 (Fri, 03 Jun 2011)

Log Message

Try to fix the Apple LLVM Compiler build after r88087.

* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::paintMask):
* rendering/RenderTableCell.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (88089 => 88090)


--- trunk/Source/WebCore/ChangeLog	2011-06-04 03:06:32 UTC (rev 88089)
+++ trunk/Source/WebCore/ChangeLog	2011-06-04 04:35:59 UTC (rev 88090)
@@ -1,3 +1,11 @@
+2011-06-03  Dan Bernstein  <m...@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  <crog...@google.com>
 
         Unreviewed build fix.

Modified: trunk/Source/WebCore/rendering/RenderTableCell.cpp (88089 => 88090)


--- trunk/Source/WebCore/rendering/RenderTableCell.cpp	2011-06-04 03:06:32 UTC (rev 88089)
+++ trunk/Source/WebCore/rendering/RenderTableCell.cpp	2011-06-04 04:35:59 UTC (rev 88090)
@@ -1020,7 +1020,7 @@
     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 @@
     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)

Modified: trunk/Source/WebCore/rendering/RenderTableCell.h (88089 => 88090)


--- trunk/Source/WebCore/rendering/RenderTableCell.h	2011-06-04 03:06:32 UTC (rev 88089)
+++ trunk/Source/WebCore/rendering/RenderTableCell.h	2011-06-04 04:35:59 UTC (rev 88090)
@@ -143,7 +143,7 @@
     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);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to