Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 40cfdfd14a95a54b874725eaefb21aead859bc82..658403fffc6937a5762c8bafe06014819272376f 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -2344,6 +2344,11 @@ LayerTreeHostImpl::TakeCompletedImageDecodeCallbacks() { |
return result; |
} |
+void LayerTreeHostImpl::ClearImageCacheOnNavigation() { |
+ if (image_decode_cache_) |
+ image_decode_cache_->ClearCache(); |
+} |
+ |
void LayerTreeHostImpl::DidChangeScrollbarVisibility() { |
// Need a commit since input handling for scrollbars is handled in Blink so |
// we need to communicate to Blink when the compositor shows/hides the |