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

Unified Diff: cc/tiles/image_controller_unittest.cc

Issue 2945813002: cc: Interface to evict images from cc image decode cache. (Closed)
Patch Set: update Created 3 years, 6 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/image_controller_unittest.cc
diff --git a/cc/tiles/image_controller_unittest.cc b/cc/tiles/image_controller_unittest.cc
index 034a59d500821c379fdf7480d392374e617f659c..89ea03da534476b43f33bc8cbfbe1c3199ddf9e9 100644
--- a/cc/tiles/image_controller_unittest.cc
+++ b/cc/tiles/image_controller_unittest.cc
@@ -129,6 +129,7 @@ class TestableCache : public ImageDecodeCache {
void SetShouldAggressivelyFreeResources(
bool aggressively_free_resources) override {}
void ClearCache() override {}
+ void NotifyImageUnused(uint32_t skimage_id) override{};
vmpstr 2017/06/19 16:34:41 space between override and {}. (or just run git cl
sohan 2017/06/20 13:31:39 Done. Oddly git cl format, removes the space inst
size_t GetMaximumMemoryLimitBytes() const override {
return 256 * 1024 * 1024;
}

Powered by Google App Engine
This is Rietveld 408576698