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

Unified Diff: cc/layers/picture_layer_impl.cc

Issue 2541183002: cc: Rename ImageDecodeController to ImageDecodeCache. (Closed)
Patch Set: rename: update Created 4 years 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
« no previous file with comments | « cc/BUILD.gn ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl.cc
diff --git a/cc/layers/picture_layer_impl.cc b/cc/layers/picture_layer_impl.cc
index 91c49e1e92e830e8118cd32dfa665d8216a1fff2..8497191d71c21e181e34dfb4ca863c6464ab3457 100644
--- a/cc/layers/picture_layer_impl.cc
+++ b/cc/layers/picture_layer_impl.cc
@@ -577,8 +577,8 @@ void PictureLayerImpl::UpdateRasterSource(
// Only set the image decode controller when we're committing.
if (!pending_set) {
- raster_source_->set_image_decode_controller(
- layer_tree_impl()->image_decode_controller());
+ raster_source_->set_image_decode_cache(
+ layer_tree_impl()->image_decode_cache());
}
// The |new_invalidation| must be cleared before updating tilings since they
@@ -679,8 +679,8 @@ void PictureLayerImpl::ReleaseTileResources() {
void PictureLayerImpl::RecreateTileResources() {
tilings_ = CreatePictureLayerTilingSet();
if (raster_source_) {
- raster_source_->set_image_decode_controller(
- layer_tree_impl()->image_decode_controller());
+ raster_source_->set_image_decode_cache(
+ layer_tree_impl()->image_decode_cache());
}
}
« no previous file with comments | « cc/BUILD.gn ('k') | cc/output/software_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698