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

Unified Diff: tests/ImageFilterTest.cpp

Issue 1894573002: Move SkImageFilter over to storing sk_sps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more clean up 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
« include/core/SkImageFilter.h ('K') | « src/effects/SkImageSource.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ImageFilterTest.cpp
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
index e92fef50d163fdb60b2dd8b6f7d3b90c960130db..e22d636d6791f05c86dfdc6abdb733898d042735 100644
--- a/tests/ImageFilterTest.cpp
+++ b/tests/ImageFilterTest.cpp
@@ -88,8 +88,7 @@ private:
class FailImageFilter : public SkImageFilter {
public:
- FailImageFilter() : SkImageFilter(0, nullptr) {
- }
+ FailImageFilter() : SkImageFilter(nullptr, 0, nullptr) { }
sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source,
const Context& ctx,
« include/core/SkImageFilter.h ('K') | « src/effects/SkImageSource.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698