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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp

Issue 2465983002: Rename "paint invalidation rect" etc. to "visual rect". (Closed)
Patch Set: - Created 4 years, 1 month 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
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
index 39df487373060856c8529d4a4c7c4c136ff8d204..30f9114be05994a3934637fe4eed78466cc86d68 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp
@@ -168,15 +168,13 @@ void LayoutSVGContainer::addOutlineRects(
Vector<LayoutRect>& rects,
const LayoutPoint&,
IncludeBlockVisualOverflowOrNot) const {
- rects.append(LayoutRect(paintInvalidationRectInLocalSVGCoordinates()));
+ rects.append(LayoutRect(visualRectInLocalSVGCoordinates()));
}
void LayoutSVGContainer::updateCachedBoundaries() {
SVGLayoutSupport::computeContainerBoundingBoxes(
this, m_objectBoundingBox, m_objectBoundingBoxValid, m_strokeBoundingBox,
- m_paintInvalidationBoundingBox);
- SVGLayoutSupport::intersectPaintInvalidationRectWithResources(
- this, m_paintInvalidationBoundingBox);
+ m_localVisualRect);
if (element())
element()->setNeedsResizeObserverUpdate();
}

Powered by Google App Engine
This is Rietveld 408576698