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

Unified Diff: third_party/WebKit/Source/core/paint/FilterPainter.cpp

Issue 2303703002: Revamp filter primitive region calculations for Filter Effects (Closed)
Patch Set: New baselines 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/core/paint/FilterPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FilterPainter.cpp b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
index bed244ef03ea4b14b3df647245fe11fa520d2bc3..a5f8e88d053d29ea0a26f56e324c31fe165ad0d2 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
@@ -37,7 +37,7 @@ FilterPainter::FilterPainter(PaintLayer& layer, GraphicsContext& context, const
ASSERT(layer.filterInfo());
- lastEffect->determineFilterPrimitiveSubregion(MapRectForward);
+ lastEffect->determineMaximumEffectRect(MapRectForward);
sk_sp<SkImageFilter> imageFilter = SkiaImageFilterBuilder::build(lastEffect, ColorSpaceDeviceRGB);
if (!imageFilter)
return;

Powered by Google App Engine
This is Rietveld 408576698