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

Unified Diff: Source/core/rendering/svg/SVGResources.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/SVGRenderingContext.cpp ('k') | Source/core/rendering/svg/SVGResources.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/svg/SVGResources.h
diff --git a/Source/core/rendering/svg/SVGResources.h b/Source/core/rendering/svg/SVGResources.h
index d17fb122a869e1572d54ed8602e164854c37347f..155a3499ff3336d45e15b918320a9859383776f2 100644
--- a/Source/core/rendering/svg/SVGResources.h
+++ b/Source/core/rendering/svg/SVGResources.h
@@ -28,7 +28,7 @@
namespace blink {
-class RenderObject;
+class LayoutObject;
class RenderSVGResourceClipper;
class RenderSVGResourceContainer;
class RenderSVGResourceFilter;
@@ -38,13 +38,13 @@ class RenderSVGResourcePaintServer;
class SVGElement;
class SVGRenderStyle;
-// Holds a set of resources associated with a RenderObject
+// Holds a set of resources associated with a LayoutObject
class SVGResources {
WTF_MAKE_NONCOPYABLE(SVGResources); WTF_MAKE_FAST_ALLOCATED;
public:
SVGResources();
- static PassOwnPtr<SVGResources> buildResources(const RenderObject*, const SVGRenderStyle&);
+ static PassOwnPtr<SVGResources> buildResources(const LayoutObject*, const SVGRenderStyle&);
void layoutIfNeeded();
static bool supportsMarkers(const SVGElement&);
@@ -73,11 +73,11 @@ public:
void buildSetOfResources(HashSet<RenderSVGResourceContainer*>&);
// Methods operating on all cached resources
- void removeClientFromCache(RenderObject*, bool markForInvalidation = true) const;
+ void removeClientFromCache(LayoutObject*, bool markForInvalidation = true) const;
void resourceDestroyed(RenderSVGResourceContainer*);
#ifndef NDEBUG
- void dump(const RenderObject*);
+ void dump(const LayoutObject*);
#endif
private:
« no previous file with comments | « Source/core/rendering/svg/SVGRenderingContext.cpp ('k') | Source/core/rendering/svg/SVGResources.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698