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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h

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/LayoutSVGRoot.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
index 818d50b7419c05b91cbcb99d7c2d7f1875c16f7c..eb76699ca599aff82444d0847f90fd62b2eb1287 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGRoot.h
@@ -125,8 +125,8 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
FloatRect objectBoundingBox() const override { return m_objectBoundingBox; }
FloatRect strokeBoundingBox() const override { return m_strokeBoundingBox; }
- FloatRect paintInvalidationRectInLocalSVGCoordinates() const override {
- return m_paintInvalidationBoundingBox;
+ FloatRect visualRectInLocalSVGCoordinates() const override {
+ return m_visualRectInLocalSVGCoordinates;
}
bool nodeAtPoint(HitTestResult&,
@@ -134,7 +134,7 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
const LayoutPoint& accumulatedOffset,
HitTestAction) override;
- LayoutRect localOverflowRectForPaintInvalidation() const override;
+ LayoutRect localVisualRect() const override;
bool paintedOutputOfObjectHasNoEffectRegardlessOfSize() const final {
// The rule is the same as LayoutBox's instead of LayoutReplaced's.
@@ -164,7 +164,7 @@ class CORE_EXPORT LayoutSVGRoot final : public LayoutReplaced {
FloatRect m_objectBoundingBox;
bool m_objectBoundingBoxValid;
FloatRect m_strokeBoundingBox;
- FloatRect m_paintInvalidationBoundingBox;
+ FloatRect m_visualRectInLocalSVGCoordinates;
mutable AffineTransform m_localToParentTransform;
AffineTransform m_localToBorderBoxTransform;
bool m_isLayoutSizeChanged : 1;

Powered by Google App Engine
This is Rietveld 408576698