| 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 SkLruImageCache_DEFINED | 8 #ifndef SkLruImageCache_DEFINED |
| 9 #define SkLruImageCache_DEFINED | 9 #define SkLruImageCache_DEFINED |
| 10 | 10 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 /** | 80 /** |
| 81 * Purge until below limit. Mutex must be locked before calling. | 81 * Purge until below limit. Mutex must be locked before calling. |
| 82 */ | 82 */ |
| 83 void purgeTilAtOrBelow(size_t limit); | 83 void purgeTilAtOrBelow(size_t limit); |
| 84 | 84 |
| 85 /** | 85 /** |
| 86 * Remove a set of CachedPixels. Mutex must be locked before calling. | 86 * Remove a set of CachedPixels. Mutex must be locked before calling. |
| 87 */ | 87 */ |
| 88 void removePixels(CachedPixels*); | 88 void removePixels(CachedPixels*); |
| 89 typedef SkImageCache INHERITED; |
| 89 }; | 90 }; |
| 90 | 91 |
| 91 #endif // SkLruImageCache_DEFINED | 92 #endif // SkLruImageCache_DEFINED |
| OLD | NEW |