diff options
author | mtklein <mtklein@chromium.org> | 2014-12-15 09:08:33 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-15 09:08:33 -0800 |
commit | e8307dc0d0a568775e64515a8fff7b2a709f0834 (patch) | |
tree | 47d84c4bb1a6d0733c8d0de4fd0ac21b60c49eab /src/core/SkScan_Path.cpp | |
parent | 1d09ee7c04d635e93bb85d2e2ac39f445f5540aa (diff) |
Add SK_OVERRIDE to a few places that are missing it.
This was done automatically by running clang-modernize -add-override -override-macros.
It's not clear to me whether include/ is already clean or I just can't get the tool to work for headers.
BUG=skia:
Review URL: https://codereview.chromium.org/808463002
Diffstat (limited to 'src/core/SkScan_Path.cpp')
-rw-r--r-- | src/core/SkScan_Path.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/SkScan_Path.cpp b/src/core/SkScan_Path.cpp index 184f66c6d9..84794c63e6 100644 --- a/src/core/SkScan_Path.cpp +++ b/src/core/SkScan_Path.cpp @@ -332,7 +332,7 @@ public: } // overrides - virtual void blitH(int x, int y, int width) { + virtual void blitH(int x, int y, int width) SK_OVERRIDE { int invWidth = x - fPrevX; if (invWidth > 0) { fBlitter->blitH(fPrevX, y, invWidth); @@ -341,19 +341,19 @@ public: } // we do not expect to get called with these entrypoints - virtual void blitAntiH(int, int, const SkAlpha[], const int16_t runs[]) { + virtual void blitAntiH(int, int, const SkAlpha[], const int16_t runs[]) SK_OVERRIDE { SkDEBUGFAIL("blitAntiH unexpected"); } - virtual void blitV(int x, int y, int height, SkAlpha alpha) { + virtual void blitV(int x, int y, int height, SkAlpha alpha) SK_OVERRIDE { SkDEBUGFAIL("blitV unexpected"); } - virtual void blitRect(int x, int y, int width, int height) { + virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE { SkDEBUGFAIL("blitRect unexpected"); } - virtual void blitMask(const SkMask&, const SkIRect& clip) { + virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE { SkDEBUGFAIL("blitMask unexpected"); } - virtual const SkBitmap* justAnOpaqueColor(uint32_t* value) { + virtual const SkBitmap* justAnOpaqueColor(uint32_t* value) SK_OVERRIDE { SkDEBUGFAIL("justAnOpaqueColor unexpected"); return NULL; } |