Title: [109847] trunk/Source/WebCore
- Revision
- 109847
- Author
- [email protected]
- Date
- 2012-03-05 20:57:27 -0800 (Mon, 05 Mar 2012)
Log Message
Address review comments from https://bugs.webkit.org/show_bug.cgi?id=80368
* platform/graphics/ca/mac/TileCache.mm:
(WebCore::TileCache::setNeedsDisplayInRect):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (109846 => 109847)
--- trunk/Source/WebCore/ChangeLog 2012-03-06 04:54:49 UTC (rev 109846)
+++ trunk/Source/WebCore/ChangeLog 2012-03-06 04:57:27 UTC (rev 109847)
@@ -1,3 +1,10 @@
+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):
+
2012-03-05 Yoshifumi Inoue <[email protected]>
[Forms] HTMLFieldSetForms.idl doesn't have type attribute.
Modified: trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm (109846 => 109847)
--- trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm 2012-03-06 04:54:49 UTC (rev 109846)
+++ trunk/Source/WebCore/platform/graphics/ca/mac/TileCache.mm 2012-03-06 04:57:27 UTC (rev 109847)
@@ -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