Index: Source/core/rendering/RenderRegion.cpp |
diff --git a/Source/core/rendering/RenderRegion.cpp b/Source/core/rendering/RenderRegion.cpp |
index 194b9bd924a3b07bcd967e1a77893c77f6a4c50f..a65dfc61a419932b8fdcd0e9e4689aff761a877b 100644 |
--- a/Source/core/rendering/RenderRegion.cpp |
+++ b/Source/core/rendering/RenderRegion.cpp |
@@ -119,17 +119,17 @@ void RenderRegion::layoutBlock(bool relayoutChildren) |
// RenderFlowThread itself). |
} |
-void RenderRegion::repaintFlowThreadContentRectangle(const LayoutRect& repaintRect, const LayoutRect& flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint& regionLocation) const |
+void RenderRegion::paintInvalidaitonOfFlowThreadContentRectangle(const LayoutRect& paintInvalidationRect, const LayoutRect& flowThreadPortionRect, const LayoutRect& flowThreadPortionOverflowRect, const LayoutPoint& regionLocation) const |
{ |
ASSERT(isValid()); |
- // We only have to issue a repaint in this region if the region rect intersects the repaint rect. |
+ // We only have to issue a paint invalidation in this region if the region rect intersects the paint invalidation rect. |
LayoutRect flippedFlowThreadPortionRect(flowThreadPortionRect); |
LayoutRect flippedFlowThreadPortionOverflowRect(flowThreadPortionOverflowRect); |
flowThread()->flipForWritingMode(flippedFlowThreadPortionRect); // Put the region rects into physical coordinates. |
flowThread()->flipForWritingMode(flippedFlowThreadPortionOverflowRect); |
- LayoutRect clippedRect(repaintRect); |
+ LayoutRect clippedRect(paintInvalidationRect); |
clippedRect.intersect(flippedFlowThreadPortionOverflowRect); |
if (clippedRect.isEmpty()) |
return; |
@@ -137,10 +137,9 @@ void RenderRegion::repaintFlowThreadContentRectangle(const LayoutRect& repaintRe |
// Put the region rect into the region's physical coordinate space. |
clippedRect.setLocation(regionLocation + (clippedRect.location() - flippedFlowThreadPortionRect.location())); |
- // Now switch to the region's writing mode coordinate space and let it repaint itself. |
+ // Now switch to the region's writing mode coordinate space and let it issue paint invalidations itself. |
flipForWritingMode(clippedRect); |
- // Issue the repaint. |
invalidatePaintRectangle(clippedRect); |
} |