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

Unified Diff: cc/resources/tile_manager_perftest.cc

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/tile_manager_perftest.cc
diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc
index 7518d8f7512e34245ff2fd814d51b01269fab762..3aa04a27e50582a7118089f1efbc31d624391ee5 100644
--- a/cc/resources/tile_manager_perftest.cc
+++ b/cc/resources/tile_manager_perftest.cc
@@ -68,10 +68,10 @@ class FakeRasterizerImpl : public Rasterizer, public RasterizerTaskClient {
}
// Overridden from RasterizerTaskClient:
- virtual SkCanvas* AcquireCanvasForRaster(RasterTask* task) OVERRIDE {
+ virtual RasterBuffer* AcquireBufferForRaster(RasterTask* task) OVERRIDE {
return NULL;
}
- virtual void ReleaseCanvasForRaster(RasterTask* task) OVERRIDE {}
+ virtual void ReleaseBufferForRaster(RasterTask* task) OVERRIDE {}
private:
RasterTask::Vector completed_tasks_;

Powered by Google App Engine
This is Rietveld 408576698