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

Unified Diff: include/effects/SkLumaColorFilter.h

Issue 1821103004: Revert of Revert[2] of "switch colorfilters to sk_sp (patchset #11 id:200001 of https://codereview.chromium.o… (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « include/effects/SkColorMatrixFilter.h ('k') | include/effects/SkTableColorFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/effects/SkLumaColorFilter.h
diff --git a/include/effects/SkLumaColorFilter.h b/include/effects/SkLumaColorFilter.h
index 3a68607b1977dee04471ef958c3a71a5153c1c1c..8dd519af4a77fe5ea142e9d8a15c4bfbc4c4a2e5 100644
--- a/include/effects/SkLumaColorFilter.h
+++ b/include/effects/SkLumaColorFilter.h
@@ -23,11 +23,7 @@
*/
class SK_API SkLumaColorFilter : public SkColorFilter {
public:
- static sk_sp<SkColorFilter> Make();
-
-#ifdef SK_SUPPORT_LEGACY_COLORFILTER_PTR
- static SkColorFilter* Create() { return Make().release(); }
-#endif
+ static SkColorFilter* Create();
void filterSpan(const SkPMColor src[], int count, SkPMColor[]) const override;
« no previous file with comments | « include/effects/SkColorMatrixFilter.h ('k') | include/effects/SkTableColorFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698