OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SkFontConfigInterface.h" | 8 #include "SkFontConfigInterface.h" |
9 #include "SkFontConfigTypeface.h" | 9 #include "SkFontConfigTypeface.h" |
10 #include "SkFontDescriptor.h" | 10 #include "SkFontDescriptor.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 fCache.add(face, request.release()); | 244 fCache.add(face, request.release()); |
245 | 245 |
246 return face; | 246 return face; |
247 } | 247 } |
248 }; | 248 }; |
249 | 249 |
250 SK_API SkFontMgr* SkFontMgr_New_FCI(SkFontConfigInterface* fci) { | 250 SK_API SkFontMgr* SkFontMgr_New_FCI(SkFontConfigInterface* fci) { |
251 SkASSERT(fci); | 251 SkASSERT(fci); |
252 return new SkFontMgr_FCI(fci); | 252 return new SkFontMgr_FCI(fci); |
253 } | 253 } |
OLD | NEW |