OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * 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 |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "SkPictureFlat.h" | 7 #include "SkPictureFlat.h" |
9 | 8 |
10 #include "SkChecksum.h" | 9 #include "SkChecksum.h" |
11 #include "SkColorFilter.h" | 10 #include "SkColorFilter.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 } | 81 } |
83 | 82 |
84 void SkFlatController::setTypefacePlayback(SkTypefacePlayback* playback) { | 83 void SkFlatController::setTypefacePlayback(SkTypefacePlayback* playback) { |
85 fTypefacePlayback = playback; | 84 fTypefacePlayback = playback; |
86 } | 85 } |
87 | 86 |
88 SkNamedFactorySet* SkFlatController::setNamedFactorySet(SkNamedFactorySet* set)
{ | 87 SkNamedFactorySet* SkFlatController::setNamedFactorySet(SkNamedFactorySet* set)
{ |
89 SkRefCnt_SafeAssign(fFactorySet, set); | 88 SkRefCnt_SafeAssign(fFactorySet, set); |
90 return set; | 89 return set; |
91 } | 90 } |
OLD | NEW |