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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceClipper.h

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/RenderSVGPath.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceClipper.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/RenderSVGResourceClipper.h
diff --git a/Source/core/rendering/svg/RenderSVGResourceClipper.h b/Source/core/rendering/svg/RenderSVGResourceClipper.h
index 1fce6a403d033dd93340449f3fbe1e5128463880..911ab35283f30cbb0d0acd3129e841344d7b22a2 100644
--- a/Source/core/rendering/svg/RenderSVGResourceClipper.h
+++ b/Source/core/rendering/svg/RenderSVGResourceClipper.h
@@ -41,20 +41,20 @@ public:
virtual const char* renderName() const override { return "RenderSVGResourceClipper"; }
virtual void removeAllClientsFromCache(bool markForInvalidation = true) override;
- virtual void removeClientFromCache(RenderObject*, bool markForInvalidation = true) override;
+ virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) override;
// FIXME: Filters are also stateful resources that could benefit from having their state managed
// on the caller stack instead of the current hashmap. We should look at refactoring these
// into a general interface that can be shared.
- bool applyStatefulResource(RenderObject*, GraphicsContext*&, ClipperState&);
- void postApplyStatefulResource(RenderObject*, GraphicsContext*&, ClipperState&);
+ bool applyStatefulResource(LayoutObject*, GraphicsContext*&, ClipperState&);
+ void postApplyStatefulResource(LayoutObject*, GraphicsContext*&, ClipperState&);
// clipPath can be clipped too, but don't have a boundingBox or paintInvalidationRect. So we can't call
// applyResource directly and use the rects from the object, since they are empty for RenderSVGResources
- // FIXME: We made applyClippingToContext public because we cannot call applyResource on HTML elements (it asserts on RenderObject::objectBoundingBox)
- bool applyClippingToContext(RenderObject*, const FloatRect&, const FloatRect&, GraphicsContext*, ClipperState&);
+ // FIXME: We made applyClippingToContext public because we cannot call applyResource on HTML elements (it asserts on LayoutObject::objectBoundingBox)
+ bool applyClippingToContext(LayoutObject*, const FloatRect&, const FloatRect&, GraphicsContext*, ClipperState&);
- FloatRect resourceBoundingBox(const RenderObject*);
+ FloatRect resourceBoundingBox(const LayoutObject*);
static const RenderSVGResourceType s_resourceType = ClipperResourceType;
virtual RenderSVGResourceType resourceType() const override { return s_resourceType; }
« no previous file with comments | « Source/core/rendering/svg/RenderSVGPath.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceClipper.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698