Title: [109857] tags/Safari-536.2.1/Source/WebCore
Revision
109857
Author
[email protected]
Date
2012-03-05 21:26:21 -0800 (Mon, 05 Mar 2012)

Log Message

Merged r109847.

Modified Paths

Diff

Modified: tags/Safari-536.2.1/Source/WebCore/ChangeLog (109856 => 109857)


--- tags/Safari-536.2.1/Source/WebCore/ChangeLog	2012-03-06 05:24:44 UTC (rev 109856)
+++ tags/Safari-536.2.1/Source/WebCore/ChangeLog	2012-03-06 05:26:21 UTC (rev 109857)
@@ -1,5 +1,16 @@
 2011-03-05  Lucas Forschler  <[email protected]>
 
+    Merge 109847
+
+    2012-03-05  Anders Carlsson  <[email protected]>
+
+            Address review comments from https://bugs.webkit.org/show_bug.cgi?id=80368
+
+            * platform/graphics/ca/mac/TileCache.mm:
+            (WebCore::TileCache::setNeedsDisplayInRect):
+
+2011-03-05  Lucas Forschler  <[email protected]>
+
     Merge 109843
 
     2012-03-05  Anders Carlsson  <[email protected]>

Modified: tags/Safari-536.2.1/Source/WebCore/platform/graphics/ca/mac/TileCache.mm (109856 => 109857)


--- tags/Safari-536.2.1/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2012-03-06 05:24:44 UTC (rev 109856)
+++ tags/Safari-536.2.1/Source/WebCore/platform/graphics/ca/mac/TileCache.mm	2012-03-06 05:26:21 UTC (rev 109857)
@@ -91,13 +91,13 @@
     if (m_tiles.isEmpty())
         return;
 
-    IntRect scaledRect = rect;
+    FloatRect scaledRect(rect);
     scaledRect.scale(m_scale);
 
     // Find the tiles that need to be invalidated.
     TileIndex topLeft;
     TileIndex bottomRight;
-    getTileIndexRangeForRect(intersection(scaledRect, m_tileCoverageRect), topLeft, bottomRight);
+    getTileIndexRangeForRect(intersection(enclosingIntRect(scaledRect), m_tileCoverageRect), topLeft, bottomRight);
 
     for (int y = topLeft.y(); y <= bottomRight.y(); ++y) {
         for (int x = topLeft.x(); x <= bottomRight.x(); ++x) {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to