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

Unified Diff: include/core/SkPaint.h

Issue 1817543002: Revert of switch patheffects over 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 | « gyp/skia_for_android_framework_defines.gypi ('k') | include/core/SkPathEffect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 9dc9f91ac3dbe5d5699fc944d6033489a5e56c08..39ee1e0de1d9b98a1b7b7c005ebd8bb44dc5522d 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -561,13 +561,8 @@
paint
@return effect
*/
+ SkPathEffect* setPathEffect(SkPathEffect* effect);
void setPathEffect(sk_sp<SkPathEffect>);
-#ifdef SK_SUPPORT_LEGACY_PATHEFFECT_PTR
- SkPathEffect* setPathEffect(SkPathEffect* effect) {
- this->setPathEffect(sk_ref_sp(effect));
- return effect;
- }
-#endif
/** Get the paint's maskfilter object.
<p />
« no previous file with comments | « gyp/skia_for_android_framework_defines.gypi ('k') | include/core/SkPathEffect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698