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

Unified Diff: third_party/WebKit/Source/core/layout/svg/SVGResourcesCache.cpp

Issue 2065593002: Unprefix the CSS 'filter' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disabler. Try different DCHECK expressions. Created 4 years, 6 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
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;
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/SVGResources.cpp ('k') | third_party/WebKit/Source/core/paint/SVGPaintContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698