1 /*
2  * Copyright 2017 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #include "include/core/SkTypes.h"
9 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
10 
11 #include "include/core/SkFontMgr.h"
12 #include "include/ports/SkFontMgr_mac_ct.h"
13 
Factory()14 sk_sp<SkFontMgr> SkFontMgr::Factory() {
15     return SkFontMgr_New_CoreText(nullptr);
16 }
17 
18 #endif//defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
19