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

Unified Diff: src/core/SkSpriteBlitter_RGB16.cpp

Issue 808463002: Add SK_OVERRIDE to a few places that are missing it. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: more Created 6 years 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/SkSpriteBlitter_ARGB32.cpp ('k') | src/gpu/GrPathRendering.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkSpriteBlitter_RGB16.cpp
diff --git a/src/core/SkSpriteBlitter_RGB16.cpp b/src/core/SkSpriteBlitter_RGB16.cpp
index e2c22dddea85f86a89d6786905844d98d17d0a00..3ac5127bd7f34d0f41769e5f8de3b986dd05b8ef 100644
--- a/src/core/SkSpriteBlitter_RGB16.cpp
+++ b/src/core/SkSpriteBlitter_RGB16.cpp
@@ -54,7 +54,7 @@ public:
: SkSpriteBlitter(source) {}
// overrides
- virtual void blitRect(int x, int y, int width, int height) {
+ virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE {
uint16_t* SK_RESTRICT dst = fDevice->getAddr16(x, y);
const uint16_t* SK_RESTRICT src = fSource->getAddr16(x - fLeft,
y - fTop);
@@ -264,7 +264,7 @@ public:
// overrides
virtual void setup(const SkBitmap& device, int left, int top,
- const SkPaint& paint) {
+ const SkPaint& paint) SK_OVERRIDE {
this->INHERITED::setup(device, left, top, paint);
unsigned flags = 0;
@@ -281,7 +281,7 @@ public:
fProc = SkBlitRow::Factory(flags, kRGB_565_SkColorType);
}
- virtual void blitRect(int x, int y, int width, int height) {
+ virtual void blitRect(int x, int y, int width, int height) SK_OVERRIDE {
uint16_t* SK_RESTRICT dst = fDevice->getAddr16(x, y);
const SkPMColor* SK_RESTRICT src = fSource->getAddr32(x - fLeft,
y - fTop);
« no previous file with comments | « src/core/SkSpriteBlitter_ARGB32.cpp ('k') | src/gpu/GrPathRendering.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698