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

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

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (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/svg/RenderSVGText.cpp ('k') | Source/core/rendering/svg/SVGRenderingContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGRenderSupport.cpp
diff --git a/Source/core/rendering/svg/SVGRenderSupport.cpp b/Source/core/rendering/svg/SVGRenderSupport.cpp
index 5574e7fb13cbe9551a4d035f20c0c305c59b0ebc..56c9e2cffdda9175644b51ca602e8d199d28cfa6 100644
--- a/Source/core/rendering/svg/SVGRenderSupport.cpp
+++ b/Source/core/rendering/svg/SVGRenderSupport.cpp
@@ -51,8 +51,8 @@ LayoutRect SVGRenderSupport::clippedOverflowRectForRepaint(const RenderObject* o
// Pass our local paint rect to computeRectForRepaint() which will
// map to parent coords and recurse up the parent chain.
- FloatRect repaintRect = object->repaintRectInLocalCoordinates();
- object->computeFloatRectForRepaint(repaintContainer, repaintRect);
+ FloatRect repaintRect = object->paintInvalidationRectInLocalCoordinates();
+ object->computeFloatRectForPaintInvalidation(repaintContainer, repaintRect);
return enclosingLayoutRect(repaintRect);
}
@@ -60,9 +60,9 @@ void SVGRenderSupport::computeFloatRectForRepaint(const RenderObject* object, co
{
repaintRect.inflate(object->style()->outlineWidth());
- // Translate to coords in our parent renderer, and then call computeFloatRectForRepaint() on our parent.
+ // Translate to coords in our parent renderer, and then call computeFloatRectForPaintInvalidation() on our parent.
repaintRect = object->localToParentTransform().mapRect(repaintRect);
- object->parent()->computeFloatRectForRepaint(repaintContainer, repaintRect, fixed);
+ object->parent()->computeFloatRectForPaintInvalidation(repaintContainer, repaintRect, fixed);
}
void SVGRenderSupport::mapLocalToContainer(const RenderObject* object, const RenderLayerModelObject* repaintContainer, TransformState& transformState, bool* wasFixed)
@@ -110,7 +110,7 @@ bool SVGRenderSupport::parentTransformDidChange(RenderObject* object)
bool SVGRenderSupport::checkForSVGRepaintDuringLayout(RenderObject* object)
{
- if (!object->checkForRepaintDuringLayout())
+ if (!object->checkForPaintInvalidationDuringLayout())
return false;
return parentTransformDidChange(object);
@@ -148,7 +148,7 @@ void SVGRenderSupport::computeContainerBoundingBoxes(const RenderObject* contain
const AffineTransform& transform = current->localToParentTransform();
updateObjectBoundingBox(objectBoundingBox, objectBoundingBoxValid, current,
transform.mapRect(current->objectBoundingBox()));
- strokeBoundingBox.unite(transform.mapRect(current->repaintRectInLocalCoordinates()));
+ strokeBoundingBox.unite(transform.mapRect(current->paintInvalidationRectInLocalCoordinates()));
}
repaintBoundingBox = strokeBoundingBox;
« no previous file with comments | « Source/core/rendering/svg/RenderSVGText.cpp ('k') | Source/core/rendering/svg/SVGRenderingContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698