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 "SkTagList.h" | 9 #include "SkTagList.h" |
11 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 52 |
54 void SkTagList::DeleteAll(SkTagList* rec) | 53 void SkTagList::DeleteAll(SkTagList* rec) |
55 { | 54 { |
56 while (rec) | 55 while (rec) |
57 { | 56 { |
58 SkTagList* next = rec->fNext; | 57 SkTagList* next = rec->fNext; |
59 delete rec; | 58 delete rec; |
60 rec = next; | 59 rec = next; |
61 } | 60 } |
62 } | 61 } |
OLD | NEW |