OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 SkRecord_DEFINED | 8 #ifndef SkRecord_DEFINED |
9 #define SkRecord_DEFINED | 9 #define SkRecord_DEFINED |
10 | 10 |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 SkChunkAlloc fAlloc; | 225 SkChunkAlloc fAlloc; |
226 SkAutoTMalloc<Record> fRecords; | 226 SkAutoTMalloc<Record> fRecords; |
227 SkAutoTMalloc<Type8> fTypes; | 227 SkAutoTMalloc<Type8> fTypes; |
228 // fCount and fReserved measure both fRecords and fTypes, which always grow
in lock step. | 228 // fCount and fReserved measure both fRecords and fTypes, which always grow
in lock step. |
229 unsigned fCount; | 229 unsigned fCount; |
230 unsigned fReserved; | 230 unsigned fReserved; |
231 const unsigned kFirstReserveCount; | 231 const unsigned kFirstReserveCount; |
232 }; | 232 }; |
233 | 233 |
234 #endif//SkRecord_DEFINED | 234 #endif//SkRecord_DEFINED |
OLD | NEW |