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

Unified Diff: cc/resources/one_copy_raster_worker_pool.cc

Issue 669813003: Update from chromium https://crrev.com/301725/ (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « cc/resources/gpu_raster_worker_pool.cc ('k') | cc/resources/picture_layer_tiling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/one_copy_raster_worker_pool.cc
diff --git a/cc/resources/one_copy_raster_worker_pool.cc b/cc/resources/one_copy_raster_worker_pool.cc
index cc5dd19258429af4473467951791c8ad8cac7879..831bb76b3c900dbff0fe8cc2f5ec0e7470818071 100644
--- a/cc/resources/one_copy_raster_worker_pool.cc
+++ b/cc/resources/one_copy_raster_worker_pool.cc
@@ -51,11 +51,11 @@ class RasterBufferImpl : public RasterBuffer {
}
// Overridden from RasterBuffer:
- void Playback(const PicturePileImpl* picture_pile,
+ void Playback(const RasterSource* raster_source,
const gfx::Rect& rect,
float scale,
RenderingStatsInstrumentation* stats) override {
- gfx::GpuMemoryBuffer* gpu_memory_buffer = lock_->gpu_memory_buffer();
+ gfx::GpuMemoryBuffer* gpu_memory_buffer = lock_->GetGpuMemoryBuffer();
if (!gpu_memory_buffer)
return;
@@ -63,7 +63,7 @@ class RasterBufferImpl : public RasterBuffer {
raster_resource_->format(),
raster_resource_->size(),
gpu_memory_buffer->GetStride(),
- picture_pile,
+ raster_source,
rect,
scale,
stats);
« no previous file with comments | « cc/resources/gpu_raster_worker_pool.cc ('k') | cc/resources/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698