aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/SamplePathFuzz.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-07-13 06:18:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-07-13 06:18:39 -0700
commitf059900f75639f1b1a03f2c25333ef9aa22d58b8 (patch)
treef7c27d37b1c84ac3f7e4b15af4eb513be84a922a /samplecode/SamplePathFuzz.cpp
parent4598fc3c123cd8af1dac5596f955a375186a31f3 (diff)
Fix up -Winconsistent-missing-override
(and a couple presubmit fixes) This allows us to turn back on -Werror for LLVM coverage builds, and more generally supports building with Clang 3.7. No public API changes. TBR=reed@google.com BUG=skia: Review URL: https://codereview.chromium.org/1232463006
Diffstat (limited to 'samplecode/SamplePathFuzz.cpp')
-rw-r--r--samplecode/SamplePathFuzz.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SamplePathFuzz.cpp b/samplecode/SamplePathFuzz.cpp
index 55f7f4129d..0955ce9f34 100644
--- a/samplecode/SamplePathFuzz.cpp
+++ b/samplecode/SamplePathFuzz.cpp
@@ -652,7 +652,7 @@ public:
}
protected:
// overrides from SkEventSink
- virtual bool onQuery(SkEvent* evt) {
+ bool onQuery(SkEvent* evt) override {
if (SampleCode::TitleQ(*evt)) {
SampleCode::TitleR(evt, "PathFuzzer");
return true;
@@ -668,7 +668,7 @@ protected:
path_fuzz_stroker(&offscreen, fIndex);
}
- virtual void onDrawContent(SkCanvas* canvas) {
+ void onDrawContent(SkCanvas* canvas) override {
if (fOneDraw) {
fuzzPath.randomize();
const SkPath& path = fuzzPath.getPath();