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 "SkPictureFlat.h"
9 #include "SkChecksum.h"
10 #include "SkColorFilter.h"
11 #include "SkDrawLooper.h"
12 #include "SkMaskFilter.h"
13 #include "SkShader.h"
14 #include "SkTypeface.h"
15 
16 ///////////////////////////////////////////////////////////////////////////////
17 
setCount(size_t count)18 void SkTypefacePlayback::setCount(size_t count) {
19     fCount = count;
20     fArray.reset(new sk_sp<SkTypeface>[count]);
21 }
22