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

Unified Diff: Source/WebCore/rendering/svg/RenderSVGResourceFilterPrimitive.cpp

Issue 9117045: Merge 105612 - <feImage> has problems referencing local elements (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/963/
Patch Set: Created 8 years, 11 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: Source/WebCore/rendering/svg/RenderSVGResourceFilterPrimitive.cpp
===================================================================
--- Source/WebCore/rendering/svg/RenderSVGResourceFilterPrimitive.cpp (revision 105779)
+++ Source/WebCore/rendering/svg/RenderSVGResourceFilterPrimitive.cpp (working copy)
@@ -91,7 +91,7 @@
subregion.setHeight(uniteRect.height());
effect->setFilterPrimitiveSubregion(subregion);
- FloatRect absoluteSubregion = filter->mapLocalRectToAbsoluteRect(subregion);
+ FloatRect absoluteSubregion = filter->absoluteTransform().mapRect(subregion);
FloatSize filterResolution = filter->filterResolution();
absoluteSubregion.scale(filterResolution.width(), filterResolution.height());
« no previous file with comments | « LayoutTests/svg/filters/feImage-reference-svg-primitive-expected.png ('k') | Source/WebCore/svg/SVGFEImageElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698