diff options
Diffstat (limited to 'cc/resources/tile_manager_perftest.cc')
-rw-r--r-- | cc/resources/tile_manager_perftest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cc/resources/tile_manager_perftest.cc b/cc/resources/tile_manager_perftest.cc index 5ff4fa2..9766df6 100644 --- a/cc/resources/tile_manager_perftest.cc +++ b/cc/resources/tile_manager_perftest.cc @@ -37,9 +37,9 @@ static const int kTimeCheckInterval = 10; class FakeRasterizerImpl : public Rasterizer, public RasterizerTaskClient { public: // Overridden from Rasterizer: - virtual void SetClient(RasterizerClient* client) OVERRIDE {} - virtual void Shutdown() OVERRIDE {} - virtual void ScheduleTasks(RasterTaskQueue* queue) OVERRIDE { + virtual void SetClient(RasterizerClient* client) override {} + virtual void Shutdown() override {} + virtual void ScheduleTasks(RasterTaskQueue* queue) override { for (RasterTaskQueue::Item::Vector::const_iterator it = queue->items.begin(); it != queue->items.end(); @@ -53,7 +53,7 @@ class FakeRasterizerImpl : public Rasterizer, public RasterizerTaskClient { completed_tasks_.push_back(task); } } - virtual void CheckForCompletedTasks() OVERRIDE { + virtual void CheckForCompletedTasks() override { for (RasterTask::Vector::iterator it = completed_tasks_.begin(); it != completed_tasks_.end(); ++it) { @@ -70,11 +70,11 @@ class FakeRasterizerImpl : public Rasterizer, public RasterizerTaskClient { // Overridden from RasterizerTaskClient: virtual scoped_ptr<RasterBuffer> AcquireBufferForRaster( - const Resource* resource) OVERRIDE { + const Resource* resource) override { return nullptr; } virtual void ReleaseBufferForRaster( - scoped_ptr<RasterBuffer> buffer) OVERRIDE {} + scoped_ptr<RasterBuffer> buffer) override {} private: RasterTask::Vector completed_tasks_; @@ -112,7 +112,7 @@ class TileManagerPerfTest : public testing::Test { host_impl_.tile_manager()->SetGlobalStateForTesting(state); } - virtual void SetUp() OVERRIDE { + virtual void SetUp() override { picture_pile_ = FakePicturePileImpl::CreateInfiniteFilledPile(); InitializeRenderer(); SetTreePriority(SAME_PRIORITY_FOR_BOTH_TREES); |