Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: src/core/SkBlitter.h

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkBitmapProcShader.h ('k') | src/core/SkBlitter.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkBlitter.h
diff --git a/src/core/SkBlitter.h b/src/core/SkBlitter.h
index e0e77cc6be389970d3ac88689861df6f6679d1b1..b0745c8a27a85649990f609949d4e1c07d616ab6 100644
--- a/src/core/SkBlitter.h
+++ b/src/core/SkBlitter.h
@@ -119,14 +119,14 @@ private:
*/
class SkNullBlitter : public SkBlitter {
public:
- virtual void blitH(int x, int y, int width) SK_OVERRIDE;
+ void blitH(int x, int y, int width) SK_OVERRIDE;
virtual void blitAntiH(int x, int y, const SkAlpha[],
const int16_t runs[]) SK_OVERRIDE;
- virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
- virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE;
- virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
- virtual const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE;
- virtual bool isNullBlitter() const SK_OVERRIDE;
+ void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
+ void blitRect(int x, int y, int width, int height) SK_OVERRIDE;
+ void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
+ const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE;
+ bool isNullBlitter() const SK_OVERRIDE;
};
/** Wraps another (real) blitter, and ensures that the real blitter is only
@@ -141,21 +141,21 @@ public:
fClipRect = clipRect;
}
- virtual void blitH(int x, int y, int width) SK_OVERRIDE;
+ void blitH(int x, int y, int width) SK_OVERRIDE;
virtual void blitAntiH(int x, int y, const SkAlpha[],
const int16_t runs[]) SK_OVERRIDE;
- virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
- virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE;
+ void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
+ void blitRect(int x, int y, int width, int height) SK_OVERRIDE;
virtual void blitAntiRect(int x, int y, int width, int height,
SkAlpha leftAlpha, SkAlpha rightAlpha) SK_OVERRIDE;
- virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
- virtual const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE;
+ void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
+ const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE;
- virtual int requestRowsPreserved() const SK_OVERRIDE {
+ int requestRowsPreserved() const SK_OVERRIDE {
return fBlitter->requestRowsPreserved();
}
- virtual void* allocBlitMemory(size_t sz) SK_OVERRIDE {
+ void* allocBlitMemory(size_t sz) SK_OVERRIDE {
return fBlitter->allocBlitMemory(sz);
}
@@ -176,21 +176,21 @@ public:
fRgn = clipRgn;
}
- virtual void blitH(int x, int y, int width) SK_OVERRIDE;
+ void blitH(int x, int y, int width) SK_OVERRIDE;
virtual void blitAntiH(int x, int y, const SkAlpha[],
const int16_t runs[]) SK_OVERRIDE;
- virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
- virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE;
+ void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE;
+ void blitRect(int x, int y, int width, int height) SK_OVERRIDE;
virtual void blitAntiRect(int x, int y, int width, int height,
SkAlpha leftAlpha, SkAlpha rightAlpha) SK_OVERRIDE;
- virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
- virtual const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE;
+ void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
+ const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE;
- virtual int requestRowsPreserved() const SK_OVERRIDE {
+ int requestRowsPreserved() const SK_OVERRIDE {
return fBlitter->requestRowsPreserved();
}
- virtual void* allocBlitMemory(size_t sz) SK_OVERRIDE {
+ void* allocBlitMemory(size_t sz) SK_OVERRIDE {
return fBlitter->allocBlitMemory(sz);
}
« no previous file with comments | « src/core/SkBitmapProcShader.h ('k') | src/core/SkBlitter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698