Index: cc/raster/tile_task.cc |
diff --git a/cc/raster/tile_task.cc b/cc/raster/tile_task.cc |
index 4010640a03c44ccae104e4a3c18baa3f58d4330b..87163164cf14ea01d54fc1d509b9c214aa8c11bc 100644 |
--- a/cc/raster/tile_task.cc |
+++ b/cc/raster/tile_task.cc |
@@ -9,48 +9,13 @@ |
namespace cc { |
TileTask::TileTask(bool supports_concurrent_execution) |
- : supports_concurrent_execution_(supports_concurrent_execution), |
- did_schedule_(false), |
- did_complete_(false) {} |
+ : supports_concurrent_execution_(supports_concurrent_execution) {} |
TileTask::TileTask(bool supports_concurrent_execution, |
TileTask::Vector* dependencies) |
: supports_concurrent_execution_(supports_concurrent_execution), |
- dependencies_(std::move(*dependencies)), |
- did_schedule_(false), |
- did_complete_(false) {} |
- |
-TileTask::~TileTask() { |
- DCHECK(!did_schedule_); |
- DCHECK(!state().IsFinished() || did_complete_); |
-} |
- |
-void TileTask::WillSchedule() { |
- DCHECK(!did_schedule_); |
-} |
- |
-void TileTask::DidSchedule() { |
- did_schedule_ = true; |
- did_complete_ = false; |
-} |
- |
-bool TileTask::HasBeenScheduled() const { |
- return did_schedule_; |
-} |
- |
-void TileTask::WillComplete() { |
- DCHECK(!did_complete_); |
-} |
- |
-void TileTask::DidComplete() { |
- DCHECK(did_schedule_); |
- DCHECK(!did_complete_); |
- did_schedule_ = false; |
- did_complete_ = true; |
-} |
+ dependencies_(std::move(*dependencies)) {} |
-bool TileTask::HasCompleted() const { |
- return did_complete_; |
-} |
+TileTask::~TileTask() {} |
} // namespace cc |