Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1979)

Unified Diff: Source/core/rendering/RenderImage.cpp

Issue 318803002: Rename Repaint to Paint Invalidation part 3 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderFrameSet.cpp ('k') | Source/core/rendering/RenderImageResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « Source/core/rendering/RenderFrameSet.cpp ('k') | Source/core/rendering/RenderImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698