aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar rmistry <rmistry@google.com>2015-02-02 12:08:18 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-02 12:08:18 -0800
commit465206af184f58e8097e7f4f414b791232627c31 (patch)
tree683e180847663cc48cbddd624b2646587de317a5 /tests
parent004a166ad79b86e790f27fdafc64aa71afdf0f82 (diff)
Add missing SK_OVERRIDE
Tested by running on clang head + ubuntu 14.04: GYP_DEFINES=”skia_gpu=0 skia_warnings_as_errors=1" tools/xsan_build thread dm BUILDTYPE=Release out/Release/dm -v BUG=skia:3386 Review URL: https://codereview.chromium.org/894833002
Diffstat (limited to 'tests')
-rw-r--r--tests/PDFPrimitivesTest.cpp2
-rw-r--r--tests/PictureTest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
index f15f06090d..8b1ebe0051 100644
--- a/tests/PDFPrimitivesTest.cpp
+++ b/tests/PDFPrimitivesTest.cpp
@@ -466,7 +466,7 @@ public:
DummyImageFilter(bool visited = false) : SkImageFilter(0, NULL), fVisited(visited) {}
~DummyImageFilter() SK_OVERRIDE {}
virtual bool onFilterImage(Proxy*, const SkBitmap& src, const Context&,
- SkBitmap* result, SkIPoint* offset) const {
+ SkBitmap* result, SkIPoint* offset) const SK_OVERRIDE {
fVisited = true;
offset->fX = offset->fY = 0;
*result = src;
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index c9860f994c..18af979954 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -1256,7 +1256,7 @@ struct CountingBBH : public SkBBoxHierarchy {
}
void insert(SkAutoTMalloc<SkRect>*, int) SK_OVERRIDE {}
- virtual size_t bytesUsed() const { return 0; }
+ virtual size_t bytesUsed() const SK_OVERRIDE { return 0; }
};
class SpoonFedBBHFactory : public SkBBHFactory {