skia2/include/ports
bungeman f93d71122e SkFontData to use smart pointers.
The SkFontData type is not exposed externally, so any method which uses
it can be updated to use smart pointers without affecting external
users. Updating this first will make updating the public API much
easier.

This also updates SkStreamAsset* SkStream::NewFromFile(const char*) to
std::unique_ptr<SkStreamAsset> SkStream::MakeFromFile(const char*). It
appears that no one outside Skia is currently using SkStream::NewfromFile
so this is a good time to update it as well.

GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2339273002

Committed: https://skia.googlesource.com/skia/+/d8c2476a8b1e1e1a1771b17e8dd4db8645914f8c
Review-Url: https://codereview.chromium.org/2339273002
2016-09-16 06:24:20 -07:00
..
SkFontConfigInterface.h Move to SkDataTable::MakeXXX and sk_sp. 2016-08-05 06:51:50 -07:00
SkFontMgr_android.h Add support for caching font files in the Android SkFontMgr. 2016-02-12 12:42:49 -08:00
SkFontMgr_custom.h Make FreeType usable on Windows. 2016-03-21 06:55:52 -07:00
SkFontMgr_fontconfig.h Move FontConfig factory into separate file. 2015-06-17 07:56:00 -07:00
SkFontMgr_indirect.h Move to SkDataTable::MakeXXX and sk_sp. 2016-08-05 06:51:50 -07:00
SkFontMgr.h SkFontData to use smart pointers. 2016-09-16 06:24:20 -07:00
SkRemotableFontMgr.h Move to SkDataTable::MakeXXX and sk_sp. 2016-08-05 06:51:50 -07:00
SkTypeface_mac.h CMake, include/: changes to make fiddle 2.0 better 2015-12-01 09:02:49 -08:00
SkTypeface_win.h SkLeanWindows.h: #include "Windows.h" fewer places 2016-06-07 17:21:10 -07:00