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

Unified Diff: trunk/Source/core/platform/graphics/filters/FEOffset.cpp

Issue 14852010: Revert 150342 "Implement filter primitive subregion for referenc..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 7 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: trunk/Source/core/platform/graphics/filters/FEOffset.cpp
===================================================================
--- trunk/Source/core/platform/graphics/filters/FEOffset.cpp (revision 150368)
+++ trunk/Source/core/platform/graphics/filters/FEOffset.cpp (working copy)
@@ -80,16 +80,6 @@
setAbsolutePaintRect(enclosingIntRect(paintRect));
}
-FloatRect FEOffset::mapRect(const FloatRect& rect, bool forward)
-{
- FloatRect result = rect;
- if (forward)
- result.move(filter()->applyHorizontalScale(m_dx), filter()->applyHorizontalScale(m_dy));
- else
- result.move(-filter()->applyHorizontalScale(m_dx), -filter()->applyHorizontalScale(m_dy));
- return result;
-}
-
void FEOffset::applySoftware()
{
FilterEffect* in = inputEffect(0);
« no previous file with comments | « trunk/Source/core/platform/graphics/filters/FEOffset.h ('k') | trunk/Source/core/platform/graphics/filters/FETile.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698