| Index: cc/resources/raster_worker_pool.h
|
| diff --git a/cc/resources/raster_worker_pool.h b/cc/resources/raster_worker_pool.h
|
| index d0e1e7c0de0a14f070ed9f9347a919f42831e283..726bb6f2373b065a03673bdd50b08a0810dbe7e5 100644
|
| --- a/cc/resources/raster_worker_pool.h
|
| +++ b/cc/resources/raster_worker_pool.h
|
| @@ -14,8 +14,6 @@
|
| #include "cc/resources/tile_priority.h"
|
| #include "cc/resources/worker_pool.h"
|
|
|
| -class SkDevice;
|
| -
|
| namespace skia {
|
| class LazyPixelRef;
|
| }
|
| @@ -36,7 +34,8 @@ class CC_EXPORT RasterWorkerPoolTask
|
| // Returns true if |device| was written to. False indicate that
|
| // the content of |device| is undefined and the resource doesn't
|
| // need to be initialized.
|
| - virtual bool RunOnWorkerThread(SkDevice* device, unsigned thread_index) = 0;
|
| + virtual bool RunOnWorkerThread(unsigned thread_index,
|
| + void* buffer, gfx::Size size) = 0;
|
| virtual void CompleteOnOriginThread() = 0;
|
|
|
| void DidRun(bool was_canceled);
|
| @@ -197,7 +196,8 @@ class CC_EXPORT RasterWorkerPool : public WorkerPool {
|
| int source_frame_number,
|
| RenderingStatsInstrumentation* rendering_stats,
|
| const RasterTask::Reply& reply,
|
| - Task::Set* dependencies);
|
| + Task::Set* dependencies,
|
| + bool use_16bit_tiles);
|
|
|
| static Task CreateImageDecodeTask(
|
| skia::LazyPixelRef* pixel_ref,
|
|
|