diff options
author | 2015-01-09 10:06:39 -0800 | |
---|---|---|
committer | 2015-01-09 10:06:40 -0800 | |
commit | 72c9faab45124e08c85f70ca38536914862d947c (patch) | |
tree | 611893b84bb33b1592d058ee0f2382f7f86601b8 /src/image | |
parent | 4490da227f1475fb66af20532c14d6d9febd18b6 (diff) |
Fix up all the easy virtual ... SK_OVERRIDE cases.
This fixes every case where virtual and SK_OVERRIDE were on the same line,
which should be the bulk of cases. We'll have to manually clean up the rest
over time unless I level up in regexes.
for f in (find . -type f); perl -p -i -e 's/virtual (.*)SK_OVERRIDE/\1SK_OVERRIDE/g' $f; end
BUG=skia:
Review URL: https://codereview.chromium.org/806653007
Diffstat (limited to 'src/image')
-rw-r--r-- | src/image/SkImage_Raster.cpp | 2 | ||||
-rw-r--r-- | src/image/SkSurface_Gpu.h | 10 | ||||
-rw-r--r-- | src/image/SkSurface_Raster.cpp | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/image/SkImage_Raster.cpp b/src/image/SkImage_Raster.cpp index 01a287bdc4..4636686e8d 100644 --- a/src/image/SkImage_Raster.cpp +++ b/src/image/SkImage_Raster.cpp @@ -68,7 +68,7 @@ public: SkShader::TileMode, const SkMatrix* localMatrix) const SK_OVERRIDE; - virtual bool isOpaque() const SK_OVERRIDE; + bool isOpaque() const SK_OVERRIDE; SkImage_Raster(const SkBitmap& bm, const SkSurfaceProps* props) : INHERITED(bm.width(), bm.height(), props) diff --git a/src/image/SkSurface_Gpu.h b/src/image/SkSurface_Gpu.h index a02eb3e904..4a49272d3a 100644 --- a/src/image/SkSurface_Gpu.h +++ b/src/image/SkSurface_Gpu.h @@ -21,13 +21,13 @@ public: SkSurface_Gpu(GrRenderTarget*, const SkSurfaceProps*, bool doClear); virtual ~SkSurface_Gpu(); - virtual SkCanvas* onNewCanvas() SK_OVERRIDE; - virtual SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE; - virtual SkImage* onNewImageSnapshot() SK_OVERRIDE; + SkCanvas* onNewCanvas() SK_OVERRIDE; + SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE; + SkImage* onNewImageSnapshot() SK_OVERRIDE; virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) SK_OVERRIDE; - virtual void onCopyOnWrite(ContentChangeMode) SK_OVERRIDE; - virtual void onDiscard() SK_OVERRIDE; + void onCopyOnWrite(ContentChangeMode) SK_OVERRIDE; + void onDiscard() SK_OVERRIDE; SkGpuDevice* getDevice() { return fDevice; } diff --git a/src/image/SkSurface_Raster.cpp b/src/image/SkSurface_Raster.cpp index 2bac3f3156..0752383eec 100644 --- a/src/image/SkSurface_Raster.cpp +++ b/src/image/SkSurface_Raster.cpp @@ -22,12 +22,12 @@ public: const SkSurfaceProps*); SkSurface_Raster(SkPixelRef*, const SkSurfaceProps*); - virtual SkCanvas* onNewCanvas() SK_OVERRIDE; - virtual SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE; - virtual SkImage* onNewImageSnapshot() SK_OVERRIDE; + SkCanvas* onNewCanvas() SK_OVERRIDE; + SkSurface* onNewSurface(const SkImageInfo&) SK_OVERRIDE; + SkImage* onNewImageSnapshot() SK_OVERRIDE; virtual void onDraw(SkCanvas*, SkScalar x, SkScalar y, const SkPaint*) SK_OVERRIDE; - virtual void onCopyOnWrite(ContentChangeMode) SK_OVERRIDE; + void onCopyOnWrite(ContentChangeMode) SK_OVERRIDE; private: SkBitmap fBitmap; |