Index: samplecode/SampleLines.cpp |
diff --git a/samplecode/SampleLines.cpp b/samplecode/SampleLines.cpp |
index 4b491a516fb7b9b85400082a828a30657385a732..0166bc029691ae44c8324fe45169e515d789e7a2 100644 |
--- a/samplecode/SampleLines.cpp |
+++ b/samplecode/SampleLines.cpp |
@@ -34,7 +34,7 @@ public: |
protected: |
// overrides from SkEventSink |
- virtual bool onQuery(SkEvent* evt) { |
+ bool onQuery(SkEvent* evt) override { |
if (SampleCode::TitleQ(*evt)) { |
SampleCode::TitleR(evt, "Lines"); |
return true; |
@@ -62,7 +62,7 @@ protected: |
canvas->drawRect(r, paint); |
} |
- virtual void onDrawContent(SkCanvas* canvas) { |
+ void onDrawContent(SkCanvas* canvas) override { |
SkBitmap bm; |
SkImageDecoder::DecodeFile("/kill.gif", &bm); |
canvas->drawBitmap(bm, 0, 0, NULL); |