aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkImageFilter.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2014-12-15 09:08:33 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-15 09:08:33 -0800
commite8307dc0d0a568775e64515a8fff7b2a709f0834 (patch)
tree47d84c4bb1a6d0733c8d0de4fd0ac21b60c49eab /src/core/SkImageFilter.cpp
parent1d09ee7c04d635e93bb85d2e2ac39f445f5540aa (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/SkImageFilter.cpp')
-rw-r--r--src/core/SkImageFilter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp
index 297565cd7e..b6f8b55a16 100644
--- a/src/core/SkImageFilter.cpp
+++ b/src/core/SkImageFilter.cpp
@@ -434,7 +434,7 @@ public:
}
SK_DECLARE_INTERNAL_LLIST_INTERFACE(Value);
};
- virtual bool get(const Key& key, SkBitmap* result, SkIPoint* offset) const {
+ virtual bool get(const Key& key, SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE {
SkAutoMutexAcquire mutex(fMutex);
if (Value* v = fLookup.find(key)) {
*result = v->fBitmap;
@@ -447,7 +447,7 @@ public:
}
return false;
}
- virtual void set(const Key& key, const SkBitmap& result, const SkIPoint& offset) {
+ virtual void set(const Key& key, const SkBitmap& result, const SkIPoint& offset) SK_OVERRIDE {
SkAutoMutexAcquire mutex(fMutex);
if (Value* v = fLookup.find(key)) {
removeInternal(v);