OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 #ifndef SkCodec_DEFINED | 8 #ifndef SkCodec_DEFINED |
9 #define SkCodec_DEFINED | 9 #define SkCodec_DEFINED |
10 | 10 |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 /* | 87 /* |
88 * | 88 * |
89 * Get method for the input stream | 89 * Get method for the input stream |
90 * | 90 * |
91 */ | 91 */ |
92 SkStream* stream() { | 92 SkStream* stream() { |
93 return fStream.get(); | 93 return fStream.get(); |
94 } | 94 } |
95 | 95 |
96 private: | 96 private: |
97 const SkImageInfo fInfo; | 97 const SkImageInfo fInfo; |
98 SkAutoTDelete<SkStream> fStream; | 98 SkAutoTDelete<SkStream> fStream; |
99 bool fNeedsRewind; | 99 bool fNeedsRewind; |
100 }; | 100 }; |
101 #endif // SkCodec_DEFINED | 101 #endif // SkCodec_DEFINED |
OLD | NEW |