OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 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 "SkTypes.h" | 8 #include "SkTypes.h" |
9 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) | 9 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 private: | 30 private: |
31 /* | 31 /* |
32 * Takes ownership of the imageSrc | 32 * Takes ownership of the imageSrc |
33 * Refs the data | 33 * Refs the data |
34 */ | 34 */ |
35 SkImageGeneratorCG(const SkImageInfo& info, const void* imageSrc, SkData* da
ta); | 35 SkImageGeneratorCG(const SkImageInfo& info, const void* imageSrc, SkData* da
ta); |
36 | 36 |
37 SkAutoTCallVProc<const void, CFRelease> fImageSrc; | 37 SkAutoTCallVProc<const void, CFRelease> fImageSrc; |
38 SkAutoTUnref<SkData> fData; | 38 SkAutoTUnref<SkData> fData; |
39 | 39 |
40 typedef SkImageGenerator INHERITED; | 40 typedef SkImageGenerator INHERITED; |
41 }; | 41 }; |
42 | 42 |
43 #endif //defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) | 43 #endif //defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
OLD | NEW |