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

Unified Diff: Source/core/svg/graphics/filters/SVGFilter.cpp

Issue 1338753003: Specify the source rect on the SourceGraphic (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Doh Created 5 years, 3 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
« no previous file with comments | « Source/core/svg/graphics/filters/SVGFilter.h ('k') | Source/platform/graphics/filters/Filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/graphics/filters/SVGFilter.cpp
diff --git a/Source/core/svg/graphics/filters/SVGFilter.cpp b/Source/core/svg/graphics/filters/SVGFilter.cpp
index fd7830ced0b4346a7b3c427022f490905695d6d7..892ff553055d1c016c77f5daf788210e2aefe361 100644
--- a/Source/core/svg/graphics/filters/SVGFilter.cpp
+++ b/Source/core/svg/graphics/filters/SVGFilter.cpp
@@ -24,9 +24,8 @@
namespace blink {
-SVGFilter::SVGFilter(const IntRect& absoluteSourceDrawingRegion, const FloatRect& referenceBox, const FloatRect& filterRegion, bool effectBBoxMode)
+SVGFilter::SVGFilter(const FloatRect& referenceBox, const FloatRect& filterRegion, bool effectBBoxMode)
: Filter(referenceBox, filterRegion, 1.0f)
- , m_absoluteSourceDrawingRegion(absoluteSourceDrawingRegion)
, m_effectBBoxMode(effectBBoxMode)
{
}
@@ -54,9 +53,9 @@ FloatPoint3D SVGFilter::resolve3dPoint(const FloatPoint3D& point) const
point.z() * sqrtf(referenceBox().size().diagonalLengthSquared() / 2));
}
-PassRefPtrWillBeRawPtr<SVGFilter> SVGFilter::create(const IntRect& absoluteSourceDrawingRegion, const FloatRect& referenceBox, const FloatRect& filterRegion, bool effectBBoxMode)
+PassRefPtrWillBeRawPtr<SVGFilter> SVGFilter::create(const FloatRect& referenceBox, const FloatRect& filterRegion, bool effectBBoxMode)
{
- return adoptRefWillBeNoop(new SVGFilter(absoluteSourceDrawingRegion, referenceBox, filterRegion, effectBBoxMode));
+ return adoptRefWillBeNoop(new SVGFilter(referenceBox, filterRegion, effectBBoxMode));
}
} // namespace blink
« no previous file with comments | « Source/core/svg/graphics/filters/SVGFilter.h ('k') | Source/platform/graphics/filters/Filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698