Index: Source/WebCore/rendering/svg/SVGResourcesCache.h |
=================================================================== |
--- Source/WebCore/rendering/svg/SVGResourcesCache.h (revision 118879) |
+++ Source/WebCore/rendering/svg/SVGResourcesCache.h (working copy) |
@@ -39,7 +39,7 @@ |
void addResourcesFromRenderObject(RenderObject*, const RenderStyle*); |
void removeResourcesFromRenderObject(RenderObject*); |
- static SVGResources* cachedResourcesForRenderObject(RenderObject*); |
+ static SVGResources* cachedResourcesForRenderObject(const RenderObject*); |
// Called from all SVG renderers destroy() methods - except for RenderSVGResourceContainer. |
static void clientDestroyed(RenderObject*); |
@@ -57,7 +57,7 @@ |
static void resourceDestroyed(RenderSVGResourceContainer*); |
private: |
- HashMap<RenderObject*, SVGResources*> m_cache; |
+ HashMap<const RenderObject*, SVGResources*> m_cache; |
}; |
} |