diff options
author | mtklein <mtklein@chromium.org> | 2015-03-25 18:17:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-25 18:17:32 -0700 |
commit | 36352bf5e38f45a70ee4f4fc132a38048d38206d (patch) | |
tree | 24f662dbc4bceca8f2e59521ab41ad2c1cf89ca6 /tests/QuickRejectTest.cpp | |
parent | 02fd592c8d190058652bb715fb34feb7a72992e5 (diff) |
C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla}
NOPRESUBMIT=true
BUG=skia:
DOCS_PREVIEW= https://skia.org/?cl=1037793002
Review URL: https://codereview.chromium.org/1037793002
Diffstat (limited to 'tests/QuickRejectTest.cpp')
-rw-r--r-- | tests/QuickRejectTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/QuickRejectTest.cpp b/tests/QuickRejectTest.cpp index 447d81615b..e5dea247fb 100644 --- a/tests/QuickRejectTest.cpp +++ b/tests/QuickRejectTest.cpp @@ -16,14 +16,14 @@ class TestLooper : public SkDrawLooper { public: - SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const SK_OVERRIDE { + SkDrawLooper::Context* createContext(SkCanvas*, void* storage) const override { return SkNEW_PLACEMENT(storage, TestDrawLooperContext); } - size_t contextSize() const SK_OVERRIDE { return sizeof(TestDrawLooperContext); } + size_t contextSize() const override { return sizeof(TestDrawLooperContext); } #ifndef SK_IGNORE_TO_STRING - void toString(SkString* str) const SK_OVERRIDE { + void toString(SkString* str) const override { str->append("TestLooper:"); } #endif @@ -36,7 +36,7 @@ private: TestDrawLooperContext() : fOnce(true) {} virtual ~TestDrawLooperContext() {} - bool next(SkCanvas* canvas, SkPaint*) SK_OVERRIDE { + bool next(SkCanvas* canvas, SkPaint*) override { if (fOnce) { fOnce = false; canvas->translate(SkIntToScalar(10), 0); |