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

Unified Diff: cc/playback/raster_source.cc

Issue 2141233002: cc: Clean up RecordingSource API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | cc/playback/recording_source.h » ('j') | cc/playback/recording_source.h » ('J')
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 d464779c3fef57ee577b1e2c3df8783826dea5dd..417ce30a9a60f4daf671c74932d163e11ca2b6fc 100644
--- a/cc/playback/raster_source.cc
+++ b/cc/playback/raster_source.cc
@@ -27,21 +27,21 @@ scoped_refptr<RasterSource> RasterSource::CreateFromRecordingSource(
}
RasterSource::RasterSource(const RecordingSource* other, bool can_use_lcd_text)
- : display_list_(other->display_list_),
- painter_reported_memory_usage_(other->painter_reported_memory_usage_),
+ : display_list_(other->inputs_.display_list),
+ painter_reported_memory_usage_(
+ other->inputs_.painter_reported_memory_usage),
background_color_(other->background_color_),
requires_clear_(other->requires_clear_),
can_use_lcd_text_(can_use_lcd_text),
is_solid_color_(other->is_solid_color_),
solid_color_(other->solid_color_),
- recorded_viewport_(other->recorded_viewport_),
+ recorded_viewport_(other->inputs_.recorded_viewport),
size_(other->size_),
clear_canvas_with_debug_color_(other->clear_canvas_with_debug_color_),
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_controller_(nullptr) {}
RasterSource::RasterSource(const RasterSource* other, bool can_use_lcd_text)
: display_list_(other->display_list_),
« no previous file with comments | « no previous file | cc/playback/recording_source.h » ('j') | cc/playback/recording_source.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698