| Index: third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp
|
| index c222134963b4c793666420e818aa7061eef6cd16..27a0b1f79b5bfe1b63fc8f5bbaea289bff5c6d59 100644
|
| --- a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp
|
| @@ -41,10 +41,8 @@ void SVGResourcesCache::addResourcesFromLayoutObject(LayoutObject* object, const
|
| ASSERT(object);
|
| ASSERT(!m_cache.contains(object));
|
|
|
| - const SVGComputedStyle& svgStyle = style.svgStyle();
|
| -
|
| // Build a list of all resources associated with the passed LayoutObject.
|
| - std::unique_ptr<SVGResources> newResources = SVGResources::buildResources(object, svgStyle);
|
| + std::unique_ptr<SVGResources> newResources = SVGResources::buildResources(object, style);
|
| if (!newResources)
|
| return;
|
|
|
|
|