Skip to content

Commit

Permalink
Clear layer cache in RasterCache::Clear (flutter#6915)
Browse files Browse the repository at this point in the history
  • Loading branch information
liyuqian authored Nov 21, 2018
1 parent 8d38417 commit 5c81474
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions flow/raster_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ void RasterCache::SweepAfterFrame() {

void RasterCache::Clear() {
picture_cache_.clear();
layer_cache_.clear();
}

void RasterCache::SetCheckboardCacheImages(bool checkerboard) {
Expand Down

0 comments on commit 5c81474

Please sign in to comment.