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

Unified Diff: mojo/public/c/system/tests/core_perftest.cc

Issue 668663006: Standardize usage of virtual/override/final in mojo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « mojo/gles2/gles2_context.h ('k') | mojo/public/cpp/application/application_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/c/system/tests/core_perftest.cc
diff --git a/mojo/public/c/system/tests/core_perftest.cc b/mojo/public/c/system/tests/core_perftest.cc
index 188854a36a38fe7d2f5ae68088696aca8950b8ae..fa90c8683ae4fc1159ee9bf0bdff0cc7214e87c4 100644
--- a/mojo/public/c/system/tests/core_perftest.cc
+++ b/mojo/public/c/system/tests/core_perftest.cc
@@ -29,9 +29,9 @@ class MessagePipeWriterThread : public mojo::Thread {
public:
MessagePipeWriterThread(MojoHandle handle, uint32_t num_bytes)
: handle_(handle), num_bytes_(num_bytes), num_writes_(0) {}
- virtual ~MessagePipeWriterThread() {}
+ ~MessagePipeWriterThread() override {}
- virtual void Run() override {
+ void Run() override {
char buffer[10000];
assert(num_bytes_ <= sizeof(buffer));
@@ -67,9 +67,9 @@ class MessagePipeReaderThread : public mojo::Thread {
public:
explicit MessagePipeReaderThread(MojoHandle handle)
: handle_(handle), num_reads_(0) {}
- virtual ~MessagePipeReaderThread() {}
+ ~MessagePipeReaderThread() override {}
- virtual void Run() override {
+ void Run() override {
char buffer[10000];
for (;;) {
« no previous file with comments | « mojo/gles2/gles2_context.h ('k') | mojo/public/cpp/application/application_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698