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

Unified Diff: cc/resources/image_copy_raster_worker_pool.h

Issue 454843002: cc: Do bitmap conversion for RasterBuffer in the worker thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix. Created 6 years, 4 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/resources/image_copy_raster_worker_pool.h
diff --git a/cc/resources/image_copy_raster_worker_pool.h b/cc/resources/image_copy_raster_worker_pool.h
index 414c70057d4b345b91b269f75327ad0258e1fad5..faa3f1aa7dff4490100a69c753edca0ce7998c33 100644
--- a/cc/resources/image_copy_raster_worker_pool.h
+++ b/cc/resources/image_copy_raster_worker_pool.h
@@ -48,8 +48,8 @@ class CC_EXPORT ImageCopyRasterWorkerPool : public RasterWorkerPool,
virtual void CheckForCompletedTasks() OVERRIDE;
// Overridden from RasterizerTaskClient:
- virtual SkCanvas* AcquireCanvasForRaster(RasterTask* task) OVERRIDE;
- virtual void ReleaseCanvasForRaster(RasterTask* task) OVERRIDE;
+ virtual RasterBuffer* AcquireBufferForRaster(RasterTask* task) OVERRIDE;
+ virtual void ReleaseBufferForRaster(RasterTask* task) OVERRIDE;
protected:
ImageCopyRasterWorkerPool(base::SequencedTaskRunner* task_runner,

Powered by Google App Engine
This is Rietveld 408576698