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

Unified Diff: cc/playback/raster_source.h

Issue 2141233002: cc: Clean up RecordingSource API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: keep RecordingSource, move three members to PictureLayer 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
Index: cc/playback/raster_source.h
diff --git a/cc/playback/raster_source.h b/cc/playback/raster_source.h
index c50c4a0f626a4bdf2e38864d3d910ccf65822b0e..f3db04d5d1bfeec084ea816103dd8ce3eaff5e78 100644
--- a/cc/playback/raster_source.h
+++ b/cc/playback/raster_source.h
@@ -41,7 +41,10 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
static scoped_refptr<RasterSource> CreateFromRecordingSource(
const RecordingSource* other,
- bool can_use_lcd_text);
+ bool can_use_lcd_text,
+ const gfx::Rect& recorded_viewport,
+ const scoped_refptr<DisplayItemList>& display_list,
+ const size_t& painter_reported_memory_usage);
// TODO(trchen): Deprecated.
void PlaybackToCanvas(SkCanvas* canvas,
@@ -121,7 +124,11 @@ class CC_EXPORT RasterSource : public base::RefCountedThreadSafe<RasterSource> {
protected:
friend class base::RefCountedThreadSafe<RasterSource>;
- RasterSource(const RecordingSource* other, bool can_use_lcd_text);
+ RasterSource(const RecordingSource* other,
+ bool can_use_lcd_text,
+ const gfx::Rect& recorded_viewport,
+ const scoped_refptr<DisplayItemList>& display_list,
+ const size_t& painter_reported_memory_usage);
RasterSource(const RasterSource* other, bool can_use_lcd_text);
virtual ~RasterSource();

Powered by Google App Engine
This is Rietveld 408576698