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
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 86a7598..870b371 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -215,9 +215,9 @@
}
// Try a noop Src as a canary. If it fails, skip this sink.
struct : public Src {
- Error draw(SkCanvas*) const SK_OVERRIDE { return ""; }
- SkISize size() const SK_OVERRIDE { return SkISize::Make(16, 16); }
- Name name() const SK_OVERRIDE { return "noop"; }
+ Error draw(SkCanvas*) const override { return ""; }
+ SkISize size() const override { return SkISize::Make(16, 16); }
+ Name name() const override { return "noop"; }
} noop;
SkBitmap bitmap;
@@ -526,14 +526,14 @@
static void run_test(skiatest::Test* test) {
struct : public skiatest::Reporter {
- void reportFailed(const skiatest::Failure& failure) SK_OVERRIDE {
+ void reportFailed(const skiatest::Failure& failure) override {
fail(failure.toString());
JsonWriter::AddTestFailure(failure);
}
- bool allowExtendedTest() const SK_OVERRIDE {
+ bool allowExtendedTest() const override {
return FLAGS_pathOpsExtended;
}
- bool verbose() const SK_OVERRIDE { return FLAGS_veryVerbose; }
+ bool verbose() const override { return FLAGS_veryVerbose; }
} reporter;
WallTimer timer;
timer.start();