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

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

Issue 2265113002: More const LayoutObject references in SVGLayoutSupport (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
diff --git a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
index db1ada830e93fc0a0ef82a5eefef589edd15607a..129ed962fa01c4a121f2a5d9ec7d9c7d28955803 100644
--- a/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
+++ b/third_party/WebKit/Source/core/layout/svg/SVGLayoutSupport.h
@@ -65,12 +65,12 @@ public:
static bool hasFilterResource(const LayoutObject&);
// Determines whether the passed point lies in a clipping area
- static bool pointInClippingArea(const LayoutObject*, const FloatPoint&);
+ static bool pointInClippingArea(const LayoutObject&, const FloatPoint&);
// Transform |pointInParent| to |object|'s user-space and check if it is
// within the clipping area. Returns false if the transform is singular or
// the point is outside the clipping area.
- static bool transformToUserSpaceAndCheckClipping(const LayoutObject*, const AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& localPoint);
+ static bool transformToUserSpaceAndCheckClipping(const LayoutObject&, const AffineTransform& localTransform, const FloatPoint& pointInParent, FloatPoint& localPoint);
static void computeContainerBoundingBoxes(const LayoutObject* container, FloatRect& objectBoundingBox, bool& objectBoundingBoxValid, FloatRect& strokeBoundingBox, FloatRect& paintInvalidationBoundingBox);

Powered by Google App Engine
This is Rietveld 408576698