| Index: cc/resources/image_copy_raster_worker_pool.cc
|
| diff --git a/cc/resources/image_copy_raster_worker_pool.cc b/cc/resources/image_copy_raster_worker_pool.cc
|
| index 0d4f7441e5222be3b78646df74e05dd6e98dbbae..ea5fd29a0fb62ef74c61d7d0a13efdac05d2c5f1 100644
|
| --- a/cc/resources/image_copy_raster_worker_pool.cc
|
| +++ b/cc/resources/image_copy_raster_worker_pool.cc
|
| @@ -10,6 +10,9 @@
|
| #include "cc/debug/traced_value.h"
|
| #include "cc/resources/resource_pool.h"
|
| #include "cc/resources/scoped_resource.h"
|
| +#include "gpu/command_buffer/client/gles2_interface.h"
|
| +
|
| +using gpu::gles2::GLES2Interface;
|
|
|
| namespace cc {
|
|
|
| @@ -226,7 +229,10 @@ void ImageCopyRasterWorkerPool::FlushCopies() {
|
| if (!has_performed_copy_since_last_flush_)
|
| return;
|
|
|
| - resource_provider_->ShallowFlushIfSupported();
|
| + GLES2Interface* gl = resource_provider_->ContextGL();
|
| + if (gl)
|
| + gl->ShallowFlushCHROMIUM();
|
| +
|
| has_performed_copy_since_last_flush_ = false;
|
| }
|
|
|
|
|