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

Unified Diff: cc/resources/image_raster_worker_pool.cc

Issue 398543004: cc: Avoid issuing COMMANDS_COMPLETED queries unless necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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_raster_worker_pool.cc
diff --git a/cc/resources/image_raster_worker_pool.cc b/cc/resources/image_raster_worker_pool.cc
index 007c1ed83f38437a16c95092b6924db3eb180aed..79cfe37e9468028550e4158ef42ff0dc41964d6b 100644
--- a/cc/resources/image_raster_worker_pool.cc
+++ b/cc/resources/image_raster_worker_pool.cc
@@ -155,7 +155,7 @@ void ImageRasterWorkerPool::ReleaseCanvasForRaster(RasterTask* task) {
// Map/UnmapImageRasterBuffer provides direct access to the memory used by the
// GPU. Read lock fences are required to ensure that we're not trying to map a
// resource that is currently in-use by the GPU.
- resource_provider_->EnableReadLockFences(task->resource()->id(), true);
+ resource_provider_->EnableReadLockFences(task->resource()->id());
}
void ImageRasterWorkerPool::OnRasterFinished() {

Powered by Google App Engine
This is Rietveld 408576698