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

Unified Diff: cc/raster/one_copy_tile_task_worker_pool.cc

Issue 1674843002: Remove a lame assertion from one_copy_tile_task_worker_pool.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/raster/one_copy_tile_task_worker_pool.cc
diff --git a/cc/raster/one_copy_tile_task_worker_pool.cc b/cc/raster/one_copy_tile_task_worker_pool.cc
index 9aa97502d7efdc88fb116685bb0d41e2a5ccc61d..f0062854220eb86d3e2339e7baf84a132e87d88a 100644
--- a/cc/raster/one_copy_tile_task_worker_pool.cc
+++ b/cc/raster/one_copy_tile_task_worker_pool.cc
@@ -341,9 +341,6 @@ void OneCopyTileTaskWorkerPool::PlaybackAndCopyOnWorkerThread(
use_partial_raster_
? gfx::BufferUsage::GPU_READ_CPU_READ_WRITE_PERSISTENT
: gfx::BufferUsage::GPU_READ_CPU_READ_WRITE);
- DCHECK_EQ(gfx::NumberOfPlanesForBufferFormat(
- staging_buffer->gpu_memory_buffer->GetFormat()),
- 1u);
}
gfx::Rect playback_rect = raster_full_rect;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698