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

Unified Diff: Source/core/rendering/svg/RenderSVGText.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/RenderSVGShape.cpp ('k') | Source/core/rendering/svg/SVGRenderSupport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGText.cpp
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp
index 164ada58d9eb49652927c5f6f2c72e88af3e6cbe..78ac18f48a6314c2e105b52f37c6e92fd7bf2f9d 100644
--- a/Source/core/rendering/svg/RenderSVGText.cpp
+++ b/Source/core/rendering/svg/RenderSVGText.cpp
@@ -96,9 +96,9 @@ const RenderSVGText* RenderSVGText::locateRenderSVGTextAncestor(const RenderObje
void RenderSVGText::mapRectToPaintInvalidationBacking(const RenderLayerModelObject* paintInvalidationContainer, LayoutRect& rect, bool fixed, const PaintInvalidationState* paintInvalidationState) const
{
- FloatRect repaintRect = rect;
- computeFloatRectForPaintInvalidation(paintInvalidationContainer, repaintRect, fixed, paintInvalidationState);
- rect = enclosingLayoutRect(repaintRect);
+ FloatRect paintInvalidationRect = rect;
+ computeFloatRectForPaintInvalidation(paintInvalidationContainer, paintInvalidationRect, fixed, paintInvalidationState);
+ rect = enclosingLayoutRect(paintInvalidationRect);
}
static inline void collectLayoutAttributes(RenderObject* text, Vector<SVGTextLayoutAttributes*>& attributes)
@@ -393,9 +393,9 @@ void RenderSVGText::layout()
LayoutUnit afterEdge = borderAfter() + paddingAfter() + scrollbarLogicalHeight();
setLogicalHeight(beforeEdge);
- LayoutUnit repaintLogicalTop = 0;
- LayoutUnit repaintLogicalBottom = 0;
- layoutInlineChildren(true, repaintLogicalTop, repaintLogicalBottom, afterEdge);
+ LayoutUnit paintInvalidationLogicalTop = 0;
+ LayoutUnit paintInvalidationLogicalBottom = 0;
+ layoutInlineChildren(true, paintInvalidationLogicalTop, paintInvalidationLogicalBottom, afterEdge);
if (m_needsReordering)
m_needsReordering = false;
@@ -503,13 +503,13 @@ FloatRect RenderSVGText::strokeBoundingBox() const
FloatRect RenderSVGText::paintInvalidationRectInLocalCoordinates() const
{
- FloatRect repaintRect = strokeBoundingBox();
- SVGRenderSupport::intersectRepaintRectWithResources(this, repaintRect);
+ FloatRect paintInvalidationRect = strokeBoundingBox();
+ SVGRenderSupport::intersectPaintInvalidationRectWithResources(this, paintInvalidationRect);
if (const ShadowList* textShadow = style()->textShadow())
- textShadow->adjustRectForShadow(repaintRect);
+ textShadow->adjustRectForShadow(paintInvalidationRect);
- return repaintRect;
+ return paintInvalidationRect;
}
void RenderSVGText::addChild(RenderObject* child, RenderObject* beforeChild)
« no previous file with comments | « Source/core/rendering/svg/RenderSVGShape.cpp ('k') | Source/core/rendering/svg/SVGRenderSupport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698