diff options
author | 2015-02-02 12:08:18 -0800 | |
---|---|---|
committer | 2015-02-02 12:08:18 -0800 | |
commit | 465206af184f58e8097e7f4f414b791232627c31 (patch) | |
tree | 683e180847663cc48cbddd624b2646587de317a5 /tests | |
parent | 004a166ad79b86e790f27fdafc64aa71afdf0f82 (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.cpp | 2 | ||||
-rw-r--r-- | tests/PictureTest.cpp | 2 |
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 { |