| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2006 The Android Open Source Project | 2 * Copyright 2006 The Android Open Source Project |
| 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 | 7 |
| 9 | 8 |
| 10 #include "SkMetaData.h" | 9 #include "SkMetaData.h" |
| 11 #include "SkRefCnt.h" | 10 #include "SkRefCnt.h" |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 | 326 |
| 328 /////////////////////////////////////////////////////////////////////////////// | 327 /////////////////////////////////////////////////////////////////////////////// |
| 329 | 328 |
| 330 SkMetaData::Rec* SkMetaData::Rec::Alloc(size_t size) { | 329 SkMetaData::Rec* SkMetaData::Rec::Alloc(size_t size) { |
| 331 return (Rec*)sk_malloc_throw(size); | 330 return (Rec*)sk_malloc_throw(size); |
| 332 } | 331 } |
| 333 | 332 |
| 334 void SkMetaData::Rec::Free(Rec* rec) { | 333 void SkMetaData::Rec::Free(Rec* rec) { |
| 335 sk_free(rec); | 334 sk_free(rec); |
| 336 } | 335 } |
| OLD | NEW |