| 1 | /* | 
|---|---|
| 2 | * Copyright 2011 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/SkColorFilter.h" | 
| 9 | #include "include/core/SkMaskFilter.h" | 
| 10 | #include "include/core/SkShader.h" | 
| 11 | #include "include/core/SkTypeface.h" | 
| 12 | #include "include/private/SkChecksum.h" | 
| 13 | #include "src/core/SkPictureFlat.h" | 
| 14 | |
| 15 | #include <memory> | 
| 16 | |
| 17 | /////////////////////////////////////////////////////////////////////////////// | 
| 18 | |
| 19 | void SkTypefacePlayback::setCount(size_t count) { | 
| 20 | fCount = count; | 
| 21 | fArray = std::make_unique<sk_sp<SkTypeface>[]>(count); | 
| 22 | } | 
| 23 | 
