Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1328)

Unified Diff: cc/tiles/gpu_image_decode_cache.h

Issue 2648323005: memory coordinator: Add MemoryCoordinatorClient::OnPurgeMemory() (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/tiles/gpu_image_decode_cache.h
diff --git a/cc/tiles/gpu_image_decode_cache.h b/cc/tiles/gpu_image_decode_cache.h
index 08dd6602a8387d82aec4c503444550ef758aa50d..68a267a12e7adf95b5ff81be2050cde6c1d1f834 100644
--- a/cc/tiles/gpu_image_decode_cache.h
+++ b/cc/tiles/gpu_image_decode_cache.h
@@ -130,6 +130,7 @@ class CC_EXPORT GpuImageDecodeCache
// base::MemoryCoordinatorClient overrides.
void OnMemoryStateChange(base::MemoryState state) override;
+ void OnPurgeMemory() override;
// Called by Decode / Upload tasks.
void DecodeImage(const DrawImage& image);

Powered by Google App Engine
This is Rietveld 408576698