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

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

Issue 2303703002: Revamp filter primitive region calculations for Filter Effects (Closed)
Patch Set: Baselines again; Manual for mac10.11-retina 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 a291a134834d43af6737002b2063a853a11c5616..a563c24124f1b78490c0af1223f5baf83c1b9404 100644
--- a/third_party/WebKit/Source/core/paint/FilterPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FilterPainter.cpp
@@ -34,7 +34,7 @@ FilterPainter::FilterPainter(PaintLayer& layer, GraphicsContext& context, const
DCHECK(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