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

Unified Diff: Source/core/rendering/svg/SVGRenderingContext.cpp

Issue 463883003: Rename repaint to paintInvalidation in core/rendering/svg. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/svg/SVGRenderSupport.cpp ('k') | Source/core/rendering/svg/SVGResourcesCache.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGRenderingContext.cpp
diff --git a/Source/core/rendering/svg/SVGRenderingContext.cpp b/Source/core/rendering/svg/SVGRenderingContext.cpp
index f5e310a8696158782cdefd2fb722904aff6b1d33..9f9114a1733bf80539f02ad58928d94d170ce215 100644
--- a/Source/core/rendering/svg/SVGRenderingContext.cpp
+++ b/Source/core/rendering/svg/SVGRenderingContext.cpp
@@ -118,8 +118,8 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI
bool hasBlendMode = style->hasBlendMode() && !isRenderingMask;
if (opacity < 1 || hasBlendMode || style->hasIsolation()) {
- FloatRect repaintRect = m_object->paintInvalidationRectInLocalCoordinates();
- m_paintInfo->context->clip(repaintRect);
+ FloatRect paintInvalidationRect = m_object->paintInvalidationRectInLocalCoordinates();
+ m_paintInfo->context->clip(paintInvalidationRect);
if (hasBlendMode) {
if (!(m_renderingFlags & RestoreGraphicsContext)) {
@@ -180,7 +180,7 @@ void SVGRenderingContext::prepareToRenderSVGContent(RenderObject* object, PaintI
if (!m_filter->applyResource(m_object, style, m_paintInfo->context, ApplyToDefaultMode))
return;
- // Since we're caching the resulting bitmap and do not invalidate it on repaint rect
+ // Since we're caching the resulting bitmap and do not invalidate it on paint invalidation rect
// changes, we need to paint the whole filter region. Otherwise, elements not visible
// at the time of the initial paint (due to scrolling, window size, etc.) will never
// be drawn.
« no previous file with comments | « Source/core/rendering/svg/SVGRenderSupport.cpp ('k') | Source/core/rendering/svg/SVGResourcesCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698