diff options
Diffstat (limited to 'cc/resources/one_copy_raster_worker_pool.cc')
-rw-r--r-- | cc/resources/one_copy_raster_worker_pool.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/one_copy_raster_worker_pool.cc b/cc/resources/one_copy_raster_worker_pool.cc index a86d498..f447df5 100644 --- a/cc/resources/one_copy_raster_worker_pool.cc +++ b/cc/resources/one_copy_raster_worker_pool.cc @@ -53,7 +53,7 @@ class RasterBufferImpl : public RasterBuffer { } // Overridden from RasterBuffer: - virtual skia::RefPtr<SkCanvas> AcquireSkCanvas() OVERRIDE { + virtual skia::RefPtr<SkCanvas> AcquireSkCanvas() override { if (!buffer_) return skia::AdoptRef(SkCreateNullCanvas()); @@ -61,7 +61,7 @@ class RasterBufferImpl : public RasterBuffer { &bitmap_, buffer_, resource_->format(), resource_->size(), stride_); return skia::AdoptRef(new SkCanvas(bitmap_)); } - virtual void ReleaseSkCanvas(const skia::RefPtr<SkCanvas>& canvas) OVERRIDE { + virtual void ReleaseSkCanvas(const skia::RefPtr<SkCanvas>& canvas) override { if (!buffer_) return; |