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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.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/LayoutSVGInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
index 43115a8dc9f39dc9d1fefb4d2299ed387f5d9f9e..392ef0cc94ffb1a6733807019c83fa3e3fab18be 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp
@@ -73,17 +73,16 @@ FloatRect LayoutSVGInline::strokeBoundingBox() const {
return FloatRect();
}
-FloatRect LayoutSVGInline::paintInvalidationRectInLocalSVGCoordinates() const {
+FloatRect LayoutSVGInline::visualRectInLocalSVGCoordinates() const {
if (const LayoutSVGText* textRoot =
LayoutSVGText::locateLayoutSVGTextAncestor(this))
- return textRoot->paintInvalidationRectInLocalSVGCoordinates();
+ return textRoot->visualRectInLocalSVGCoordinates();
return FloatRect();
}
-LayoutRect LayoutSVGInline::absoluteClippedOverflowRect() const {
- return SVGLayoutSupport::clippedOverflowRectForPaintInvalidation(*this,
- *view());
+LayoutRect LayoutSVGInline::absoluteVisualRect() const {
+ return SVGLayoutSupport::visualRectInAncestorSpace(*this, *view());
}
void LayoutSVGInline::mapLocalToAncestor(const LayoutBoxModelObject* ancestor,

Powered by Google App Engine
This is Rietveld 408576698