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

Unified Diff: include/core/SkPaint.h

Issue 1974783002: Revert of Move SkTypeface to sk_sp. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 7 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
Index: include/core/SkPaint.h
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 293ffedc12aee6efac85be0ab93d685e73b859c5..7367fc642deb7bf3a5b4d4c315ba9fc635188830 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -614,10 +614,8 @@
paint
@return typeface
*/
+ SkTypeface* setTypeface(SkTypeface* typeface);
void setTypeface(sk_sp<SkTypeface>);
-#ifdef SK_SUPPORT_LEGACY_TYPEFACE_PTR
- SkTypeface* setTypeface(SkTypeface* typeface);
-#endif
/** Get the paint's rasterizer (or NULL).
<p />

Powered by Google App Engine
This is Rietveld 408576698