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

Unified Diff: src/core/SkColorFilterShader.h

Issue 1820303002: Revert of switch colorfilters to sk_sp (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 | « src/core/SkColorFilter.cpp ('k') | src/core/SkColorFilterShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkColorFilterShader.h
diff --git a/src/core/SkColorFilterShader.h b/src/core/SkColorFilterShader.h
index 167a272fa4e8ca6914a170040f8c17984900f6e4..0f41a43c49d72890f59b2f1544bea0288621362b 100644
--- a/src/core/SkColorFilterShader.h
+++ b/src/core/SkColorFilterShader.h
@@ -13,7 +13,7 @@
class SkColorFilterShader : public SkShader {
public:
- SkColorFilterShader(sk_sp<SkShader> shader, sk_sp<SkColorFilter> filter);
+ SkColorFilterShader(SkShader* shader, SkColorFilter* filter);
#if SK_SUPPORT_GPU
const GrFragmentProcessor* asFragmentProcessor(GrContext*,
@@ -53,8 +53,8 @@
Context* onCreateContext(const ContextRec&, void* storage) const override;
private:
- sk_sp<SkShader> fShader;
- sk_sp<SkColorFilter> fFilter;
+ SkAutoTUnref<SkShader> fShader;
+ SkAutoTUnref<SkColorFilter> fFilter;
typedef SkShader INHERITED;
};
« no previous file with comments | « src/core/SkColorFilter.cpp ('k') | src/core/SkColorFilterShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698