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

Unified Diff: third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp

Issue 2341923002: Harmonize FilterEffect::mapRect and mapPaintRect (Closed)
Patch Set: Rebase Created 4 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
Index: third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp b/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp
index b7c9ec929c1d4f4e362ab4a7846d2679e60ad7f3..84967f4a95c00bdac42046a9341aa66346f7079a 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FilterOperation.cpp
@@ -62,7 +62,7 @@ FloatRect ReferenceFilterOperation::mapRect(const FloatRect& rect) const
const auto* lastEffect = m_filter ? m_filter->lastEffect() : nullptr;
if (!lastEffect)
return rect;
- return lastEffect->mapRectRecursive(rect);
+ return lastEffect->mapRect(rect);
}
FilterOperation* BasicColorMatrixFilterOperation::blend(const FilterOperation* from, double progress) const

Powered by Google App Engine
This is Rietveld 408576698