Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: dm/DM.cpp

Issue 1037793002: C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: git cl web Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bench/XfermodeBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index 86a75983e3f989f31e65838905a4bc438e9bda67..870b371cc44d089cc53696d81a2c51e2fabdb1ef 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -215,9 +215,9 @@ static void push_sink(const char* tag, Sink* s) {
}
// 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 gather_tests() {
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();
« no previous file with comments | « bench/XfermodeBench.cpp ('k') | dm/DMSrcSink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698