OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 SkPurgeableImageCache_DEFINED | 8 #ifndef SkPurgeableImageCache_DEFINED |
9 #define SkPurgeableImageCache_DEFINED | 9 #define SkPurgeableImageCache_DEFINED |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 #endif | 36 #endif |
37 | 37 |
38 private: | 38 private: |
39 SkPurgeableImageCache(); | 39 SkPurgeableImageCache(); |
40 | 40 |
41 #ifdef SK_DEBUG | 41 #ifdef SK_DEBUG |
42 SkTDArray<ID> fRecs; | 42 SkTDArray<ID> fRecs; |
43 int findRec(ID) const; | 43 int findRec(ID) const; |
44 #endif | 44 #endif |
45 void removeRec(ID); | 45 void removeRec(ID); |
| 46 typedef SkImageCache INHERITED; |
46 }; | 47 }; |
47 #endif // SkPurgeableImageCache_DEFINED | 48 #endif // SkPurgeableImageCache_DEFINED |
OLD | NEW |