Index: cc/raster/tile_task_worker_pool.h |
diff --git a/cc/raster/tile_task_worker_pool.h b/cc/raster/tile_task_worker_pool.h |
index db78391738bfa094db2259f760694f710e412148..e56807f16e85f3b542c54bf7069baaaa0c0782ba 100644 |
--- a/cc/raster/tile_task_worker_pool.h |
+++ b/cc/raster/tile_task_worker_pool.h |
@@ -7,6 +7,7 @@ |
#include <stddef.h> |
+#include "cc/playback/raster_source.h" |
#include "cc/raster/tile_task_runner.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/geometry/size.h" |
@@ -16,7 +17,6 @@ class SequencedTaskRunner; |
} |
namespace cc { |
-class RasterSource; |
class RenderingStatsInstrumentation; |
class CC_EXPORT TileTaskWorkerPool { |
@@ -35,15 +35,16 @@ class CC_EXPORT TileTaskWorkerPool { |
// that will cover the resulting |memory|. The |canvas_playback_rect| can be a |
// smaller contained rect inside the |canvas_bitmap_rect| if the |memory| is |
// already partially complete, and only the subrect needs to be played back. |
- static void PlaybackToMemory(void* memory, |
- ResourceFormat format, |
- const gfx::Size& size, |
- size_t stride, |
- const RasterSource* raster_source, |
- const gfx::Rect& canvas_bitmap_rect, |
- const gfx::Rect& canvas_playback_rect, |
- float scale, |
- bool include_images); |
+ static void PlaybackToMemory( |
+ void* memory, |
+ ResourceFormat format, |
+ const gfx::Size& size, |
+ size_t stride, |
+ const RasterSource* raster_source, |
+ const gfx::Rect& canvas_bitmap_rect, |
+ const gfx::Rect& canvas_playback_rect, |
+ float scale, |
+ const RasterSource::PlaybackSettings& playback_settings); |
// Type-checking downcast routine. |
virtual TileTaskRunner* AsTileTaskRunner() = 0; |