| Index: Source/core/layout/svg/SVGResourcesCache.h
|
| diff --git a/Source/core/layout/svg/SVGResourcesCache.h b/Source/core/layout/svg/SVGResourcesCache.h
|
| index c1a22906d450ce7a71b4ead86cca2e645c0be40f..f19f2465c1d727039695963f5d146a87929592b3 100644
|
| --- a/Source/core/layout/svg/SVGResourcesCache.h
|
| +++ b/Source/core/layout/svg/SVGResourcesCache.h
|
| @@ -42,7 +42,7 @@ public:
|
| static SVGResources* cachedResourcesForLayoutObject(const LayoutObject*);
|
|
|
| // Called from all SVG renderers addChild() methods.
|
| - static void clientWasAddedToTree(LayoutObject*, const LayoutStyle* newStyle);
|
| + static void clientWasAddedToTree(LayoutObject*, const LayoutStyle& newStyle);
|
|
|
| // Called from all SVG renderers removeChild() methods.
|
| static void clientWillBeRemovedFromTree(LayoutObject*);
|
| @@ -54,13 +54,13 @@ public:
|
| static void clientLayoutChanged(LayoutObject*);
|
|
|
| // Called from all SVG renderers styleDidChange() methods.
|
| - static void clientStyleChanged(LayoutObject*, StyleDifference, const LayoutStyle* newStyle);
|
| + static void clientStyleChanged(LayoutObject*, StyleDifference, const LayoutStyle& newStyle);
|
|
|
| // Called from RenderSVGResourceContainer::willBeDestroyed().
|
| static void resourceDestroyed(RenderSVGResourceContainer*);
|
|
|
| private:
|
| - void addResourcesFromLayoutObject(LayoutObject*, const LayoutStyle*);
|
| + void addResourcesFromLayoutObject(LayoutObject*, const LayoutStyle&);
|
| void removeResourcesFromLayoutObject(LayoutObject*);
|
|
|
| typedef HashMap<const LayoutObject*, OwnPtr<SVGResources>> CacheMap;
|
|
|