Index: Source/core/rendering/RenderImage.cpp |
diff --git a/Source/core/rendering/RenderImage.cpp b/Source/core/rendering/RenderImage.cpp |
index 4a214dae4ab0e8cfe24ad42fa8682067828132bb..391039a9e2746580c67d8a065fb0211578a23c89 100644 |
--- a/Source/core/rendering/RenderImage.cpp |
+++ b/Source/core/rendering/RenderImage.cpp |
@@ -251,7 +251,7 @@ void RenderImage::repaintOrMarkForLayout(bool imageSizeChangedToAccomodateAltTex |
{ |
// FIXME: We should not be allowing repaint during layout. crbug.com/339584 |
AllowPaintInvalidationScope scoper(frameView()); |
- repaintRectangle(repaintRect); |
+ invalidatePaintRectangle(repaintRect); |
} |
// Tell any potential compositing layers that the image needs updating. |
@@ -438,7 +438,7 @@ void RenderImage::areaElementFocusChanged(HTMLAreaElement* areaElement) |
repaintRect.moveBy(-absoluteContentBox().location()); |
repaintRect.inflate(outlineWidth); |
- repaintRectangle(repaintRect); |
+ invalidatePaintRectangle(repaintRect); |
} |
void RenderImage::paintIntoRect(GraphicsContext* context, const LayoutRect& rect) |