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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceFilter.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
Index: Source/core/rendering/svg/RenderSVGResourceFilter.h
diff --git a/Source/core/rendering/svg/RenderSVGResourceFilter.h b/Source/core/rendering/svg/RenderSVGResourceFilter.h
index 3472c20aa2b57ab146a476fb1afc86e31e9c9d7e..980e1929e0ab1a0b752daa6af56703f22af7cb18 100644
--- a/Source/core/rendering/svg/RenderSVGResourceFilter.h
+++ b/Source/core/rendering/svg/RenderSVGResourceFilter.h
@@ -76,37 +76,37 @@ public:
virtual ~RenderSVGResourceFilter();
virtual void destroy() override;
- virtual bool isChildAllowed(RenderObject*, const RenderStyle&) const override;
+ virtual bool isChildAllowed(LayoutObject*, const RenderStyle&) const override;
virtual const char* renderName() const override { return "RenderSVGResourceFilter"; }
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVGResourceFilter || RenderSVGResourceContainer::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectSVGResourceFilter || RenderSVGResourceContainer::isOfType(type); }
virtual void removeAllClientsFromCache(bool markForInvalidation = true) override;
- virtual void removeClientFromCache(RenderObject*, bool markForInvalidation = true) override;
+ virtual void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) override;
// Returns the context that should be used to paint the filter contents, or
// null if the content should not be recorded.
- GraphicsContext* prepareEffect(RenderObject*, GraphicsContext*);
- void finishEffect(RenderObject*, GraphicsContext*);
+ GraphicsContext* prepareEffect(LayoutObject*, GraphicsContext*);
+ void finishEffect(LayoutObject*, GraphicsContext*);
- FloatRect resourceBoundingBox(const RenderObject*);
+ FloatRect resourceBoundingBox(const LayoutObject*);
PassRefPtrWillBeRawPtr<SVGFilterBuilder> buildPrimitives(SVGFilter*);
SVGUnitTypes::SVGUnitType filterUnits() const { return toSVGFilterElement(element())->filterUnits()->currentValue()->enumValue(); }
SVGUnitTypes::SVGUnitType primitiveUnits() const { return toSVGFilterElement(element())->primitiveUnits()->currentValue()->enumValue(); }
- void primitiveAttributeChanged(RenderObject*, const QualifiedName&);
+ void primitiveAttributeChanged(LayoutObject*, const QualifiedName&);
static const RenderSVGResourceType s_resourceType = FilterResourceType;
virtual RenderSVGResourceType resourceType() const override { return s_resourceType; }
private:
- typedef WillBePersistentHeapHashMap<RenderObject*, OwnPtrWillBeMember<FilterData>> FilterMap;
+ typedef WillBePersistentHeapHashMap<LayoutObject*, OwnPtrWillBeMember<FilterData>> FilterMap;
FilterMap m_filter;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceFilter, isSVGResourceFilter());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderSVGResourceFilter, isSVGResourceFilter());
}
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceContainer.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceFilter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698