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

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

Issue 2945973002: use simpler api for SkMergeImageFilter (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp b/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
index 26c43b46f82ae05c0668dd06abad00f55de93e9a..a02da66131a90aada75e5f9d649cbc0ce1f04c1d 100644
--- a/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
+++ b/third_party/WebKit/Source/platform/graphics/filters/FEMerge.cpp
@@ -46,7 +46,7 @@ sk_sp<SkImageFilter> FEMerge::CreateImageFilter() {
InputEffect(i), OperatingInterpolationSpace());
}
SkImageFilter::CropRect rect = GetCropRect();
- return SkMergeImageFilter::MakeN(input_refs.get(), size, nullptr, &rect);
+ return SkMergeImageFilter::Make(input_refs.get(), size, &rect);
}
TextStream& FEMerge::ExternalRepresentation(TextStream& ts, int indent) const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698