Clear layer cache in RasterCache::Clear (flutter/engine#6915)

This fixes https://github.com/flutter/flutter/issues/24216
This commit is contained in:
liyuqian
2018-11-20 16:48:13 -08:00
committed by GitHub
parent 1c73ec5e79
commit 966eadadae

View File

@@ -246,6 +246,7 @@ void RasterCache::SweepAfterFrame() {
void RasterCache::Clear() {
picture_cache_.clear();
layer_cache_.clear();
}
void RasterCache::SetCheckboardCacheImages(bool checkerboard) {