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

Unified Diff: cc/trees/layer_tree_host_impl.h

Issue 2795803002: Clear Image Decode Cache on Navigation (Closed)
Patch Set: Created 3 years, 9 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/trees/layer_tree_host_impl.h
diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
index f64ac371a054f784435e7f4cad46c4e863a743ff..dbbd61e398ed713e0815c428bde0fffcb80b549c 100644
--- a/cc/trees/layer_tree_host_impl.h
+++ b/cc/trees/layer_tree_host_impl.h
@@ -597,6 +597,8 @@ class CC_EXPORT LayerTreeHostImpl
const base::Callback<void(bool)>& embedder_callback);
std::vector<base::Closure> TakeCompletedImageDecodeCallbacks();
+ void ClearCachesOnNavigation();
+
protected:
LayerTreeHostImpl(
const LayerTreeSettings& settings,

Powered by Google App Engine
This is Rietveld 408576698