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 1e120bfe619fd546f75ca945b04274f62a495e20..f9f79ebb229243523e4788a3511338881b1f1fe7 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp |
@@ -40,10 +40,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. |
- OwnPtr<SVGResources> newResources = SVGResources::buildResources(object, svgStyle); |
+ OwnPtr<SVGResources> newResources = SVGResources::buildResources(object, style); |
if (!newResources) |
return; |