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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp

Issue 1897333002: Refactor SkiaImageFilterBuilder into a namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/svg/graphics/filters/SVGFEImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
index eba6e2b8ebf278cfc07ced8dfca9dcb1f27611c0..47751537e73727faa5fb8cd7614d263bd725b268 100644
--- a/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/filters/SVGFEImage.cpp
@@ -181,7 +181,7 @@ sk_sp<SkImageFilter> FEImage::createImageFilterForLayoutObject(const LayoutObjec
return SkPictureImageFilter::Make(toSkSp(filterPicture.endRecording()), dstRect);
}
-sk_sp<SkImageFilter> FEImage::createImageFilter(SkiaImageFilterBuilder& builder)
+sk_sp<SkImageFilter> FEImage::createImageFilter()
{
if (auto* layoutObject = referencedLayoutObject())
return createImageFilterForLayoutObject(*layoutObject);
@@ -192,7 +192,7 @@ sk_sp<SkImageFilter> FEImage::createImageFilter(SkiaImageFilterBuilder& builder)
// to download, is non-existent, or that cannot be displayed (e.g. because it is
// not in a supported image format) fills the filter primitive subregion with
// transparent black."
- return createTransparentBlack(builder);
+ return createTransparentBlack();
}
FloatRect srcRect = FloatRect(FloatPoint(), FloatSize(m_image->size()));

Powered by Google App Engine
This is Rietveld 408576698