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

Unified Diff: cc/raster/gpu_tile_task_worker_pool.cc

Issue 1248923002: Fix invalid static_cast in GpuTileTaskWorkerPool (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« 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/gpu_tile_task_worker_pool.cc
diff --git a/cc/raster/gpu_tile_task_worker_pool.cc b/cc/raster/gpu_tile_task_worker_pool.cc
index 7c21177d5278e9f9ec07eb2ff142a48f6d2d4f3b..7c0208387ecf5f1083231d33651646857078a6c1 100644
--- a/cc/raster/gpu_tile_task_worker_pool.cc
+++ b/cc/raster/gpu_tile_task_worker_pool.cc
@@ -216,7 +216,7 @@ bool GpuTileTaskWorkerPool::GetResourceRequiresSwizzle() const {
void GpuTileTaskWorkerPool::CompleteTasks(const Task::Vector& tasks) {
for (auto& task : tasks) {
- RasterTask* raster_task = static_cast<RasterTask*>(task.get());
+ TileTask* raster_task = static_cast<TileTask*>(task.get());
vmpstr 2015/07/22 22:43:48 can you rename raster_task to tile_task as well?
krasin 2015/07/22 22:50:03 Done.
raster_task->WillComplete();
raster_task->CompleteOnOriginThread(this);
« 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