Chromium Code Reviews| 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..83018bfa0eff44f7834369acd8304c1f105dab88 100644 |
| --- a/cc/trees/layer_tree_host_impl.cc |
| +++ b/cc/trees/layer_tree_host_impl.cc |
| @@ -2344,6 +2344,12 @@ LayerTreeHostImpl::TakeCompletedImageDecodeCallbacks() { |
| return result; |
| } |
| +void LayerTreeHostImpl::ClearImageCacheOnNavigation() { |
| + if (image_decode_cache_) { |
|
vmpstr
2017/04/04 00:43:18
nit: no braces
ericrk
2017/04/04 17:17:18
Done.
|
| + 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 |