OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
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 #ifndef SkAutoPixmapStorage_DEFINED | 8 #ifndef SkAutoPixmapStorage_DEFINED |
10 #define SkAutoPixmapStorage_DEFINED | 9 #define SkAutoPixmapStorage_DEFINED |
11 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 69 |
71 void freeStorage() { | 70 void freeStorage() { |
72 sk_free(fStorage); | 71 sk_free(fStorage); |
73 fStorage = nullptr; | 72 fStorage = nullptr; |
74 } | 73 } |
75 | 74 |
76 typedef SkPixmap INHERITED; | 75 typedef SkPixmap INHERITED; |
77 }; | 76 }; |
78 | 77 |
79 #endif | 78 #endif |
OLD | NEW |