OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2008 The Android Open Source Project | 2 * Copyright 2008 The Android Open Source Project |
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 class SkPNGImageEncoder_CG : public SkImageEncoder_CG { | 153 class SkPNGImageEncoder_CG : public SkImageEncoder_CG { |
154 public: | 154 public: |
155 SkPNGImageEncoder_CG() | 155 SkPNGImageEncoder_CG() |
156 : SkImageEncoder_CG(kPNG_Type) { | 156 : SkImageEncoder_CG(kPNG_Type) { |
157 } | 157 } |
158 }; | 158 }; |
159 | 159 |
160 DEFINE_ENCODER_CREATOR(PNGImageEncoder_CG); | 160 DEFINE_ENCODER_CREATOR(PNGImageEncoder_CG); |
161 | 161 |
162 #endif//defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) | 162 #endif//defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS) |
OLD | NEW |