| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/resources/tile_task_runner.h" | 5 #include "cc/raster/tile_task_runner.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 namespace cc { | 9 namespace cc { |
| 10 | 10 |
| 11 TileTask::TileTask() : did_schedule_(false), did_complete_(false) { | 11 TileTask::TileTask() : did_schedule_(false), did_complete_(false) { |
| 12 } | 12 } |
| 13 | 13 |
| 14 TileTask::~TileTask() { | 14 TileTask::~TileTask() { |
| 15 DCHECK(!did_schedule_); | 15 DCHECK(!did_schedule_); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 | 91 |
| 92 void TileTaskQueue::Swap(TileTaskQueue* other) { | 92 void TileTaskQueue::Swap(TileTaskQueue* other) { |
| 93 items.swap(other->items); | 93 items.swap(other->items); |
| 94 } | 94 } |
| 95 | 95 |
| 96 void TileTaskQueue::Reset() { | 96 void TileTaskQueue::Reset() { |
| 97 items.clear(); | 97 items.clear(); |
| 98 } | 98 } |
| 99 | 99 |
| 100 } // namespace cc | 100 } // namespace cc |
| OLD | NEW |