| 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 SkDiscardableMemory_DEFINED | 8 #ifndef SkDiscardableMemory_DEFINED |
| 9 #define SkDiscardableMemory_DEFINED | 9 #define SkDiscardableMemory_DEFINED |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 virtual void* data() = 0; | 56 virtual void* data() = 0; |
| 57 | 57 |
| 58 /** | 58 /** |
| 59 * Unlock the memory so that it can be purged by the system. Must be called | 59 * Unlock the memory so that it can be purged by the system. Must be called |
| 60 * after every successful lock call. | 60 * after every successful lock call. |
| 61 */ | 61 */ |
| 62 virtual void unlock() = 0; | 62 virtual void unlock() = 0; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 #endif | 65 #endif |
| OLD | NEW |