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

Unified Diff: cc/playback/raster_source.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/playback/raster_source.h ('k') | cc/playback/raster_source_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/playback/raster_source.cc
diff --git a/cc/playback/raster_source.cc b/cc/playback/raster_source.cc
index 60f3ac7525873ea0b83ec8d70d16a933aab0f93e..9e5e946fb777e24a834a56eaa1a34216ee8cc673 100644
--- a/cc/playback/raster_source.cc
+++ b/cc/playback/raster_source.cc
@@ -41,7 +41,7 @@ RasterSource::RasterSource(const RecordingSource* other, bool can_use_lcd_text)
slow_down_raster_scale_factor_for_debug_(
other->slow_down_raster_scale_factor_for_debug_),
should_attempt_to_use_distance_field_text_(false),
- image_decode_controller_(nullptr) {}
+ image_decode_cache_(nullptr) {}
RasterSource::RasterSource(const RasterSource* other, bool can_use_lcd_text)
: display_list_(other->display_list_),
@@ -58,8 +58,7 @@ RasterSource::RasterSource(const RasterSource* other, bool can_use_lcd_text)
other->slow_down_raster_scale_factor_for_debug_),
should_attempt_to_use_distance_field_text_(
other->should_attempt_to_use_distance_field_text_),
- image_decode_controller_(other->image_decode_controller_) {
-}
+ image_decode_cache_(other->image_decode_cache_) {}
RasterSource::~RasterSource() {
}
@@ -95,8 +94,7 @@ void RasterSource::PlaybackToCanvas(SkCanvas* raster_canvas,
} else if (settings.use_image_hijack_canvas) {
const SkImageInfo& info = raster_canvas->imageInfo();
- ImageHijackCanvas canvas(info.width(), info.height(),
- image_decode_controller_);
+ ImageHijackCanvas canvas(info.width(), info.height(), image_decode_cache_);
// Before adding the canvas, make sure that the ImageHijackCanvas is aware
// of the current transform and clip, which may affect the clip bounds.
// Since we query the clip bounds of the current canvas to get the list of
« no previous file with comments | « cc/playback/raster_source.h ('k') | cc/playback/raster_source_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698