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

Unified Diff: include/effects/SkMergeImageFilter.h

Issue 1763223002: Switch SkMergeImageFilter over to new onFilterImage interface (Closed) Base URL: https://skia.googlesource.com/skia.git@if-follow-on
Patch Set: Address code review comments Created 4 years, 9 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 | src/effects/SkMergeImageFilter.cpp » ('j') | src/effects/SkMergeImageFilter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkMergeImageFilter.h
diff --git a/include/effects/SkMergeImageFilter.h b/include/effects/SkMergeImageFilter.h
index 668e06f6da8e2fe1abe31058deedff4d164e06c5..082473110bad3536c4833b2c0953fe58c10c5b2b 100644
--- a/include/effects/SkMergeImageFilter.h
+++ b/include/effects/SkMergeImageFilter.h
@@ -14,7 +14,7 @@
class SK_API SkMergeImageFilter : public SkImageFilter {
public:
- virtual ~SkMergeImageFilter();
+ ~SkMergeImageFilter() override;
static SkImageFilter* Create(SkImageFilter* first, SkImageFilter* second,
SkXfermode::Mode mode = SkXfermode::kSrcOver_Mode,
@@ -35,8 +35,8 @@ public:
protected:
void flatten(SkWriteBuffer&) const override;
- bool onFilterImageDeprecated(Proxy*, const SkBitmap& src, const Context&, SkBitmap* result,
- SkIPoint* loc) const override;
+ SkSpecialImage* onFilterImage(SkSpecialImage* source, const Context&,
+ SkIPoint* offset) const override;
private:
SkMergeImageFilter(SkImageFilter* filters[], int count, const SkXfermode::Mode modes[],
« no previous file with comments | « no previous file | src/effects/SkMergeImageFilter.cpp » ('j') | src/effects/SkMergeImageFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698