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

Unified Diff: src/utils/SkEventTracer.cpp

Issue 1099333004: Update {virtual,override} to follow C++11 style in src/utils. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 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 | « src/utils/SkDeferredCanvas.cpp ('k') | src/utils/SkTextBox.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/utils/SkEventTracer.cpp
diff --git a/src/utils/SkEventTracer.cpp b/src/utils/SkEventTracer.cpp
index b114c21c8f0864c6f6955ce163948a4b4e8eb372..d9f925852e3171aefb6964e1be3ce2fc35871025 100644
--- a/src/utils/SkEventTracer.cpp
+++ b/src/utils/SkEventTracer.cpp
@@ -10,7 +10,7 @@
#include "SkLazyPtr.h"
class SkDefaultEventTracer : public SkEventTracer {
- virtual SkEventTracer::Handle
+ SkEventTracer::Handle
addTraceEvent(char phase,
const uint8_t* categoryEnabledFlag,
const char* name,
@@ -21,20 +21,20 @@ class SkDefaultEventTracer : public SkEventTracer {
const uint64_t* argValues,
uint8_t flags) override { return 0; }
- virtual void
+ void
updateTraceEventDuration(const uint8_t* categoryEnabledFlag,
const char* name,
- SkEventTracer::Handle handle) override {};
+ SkEventTracer::Handle handle) override {}
const uint8_t* getCategoryGroupEnabled(const char* name) override {
static uint8_t no = 0;
return &no;
- };
- virtual const char* getCategoryGroupName(
+ }
+ const char* getCategoryGroupName(
const uint8_t* categoryEnabledFlag) override {
static const char* dummy = "dummy";
return dummy;
- };
+ }
};
// We prefer gUserTracer if it's been set, otherwise we fall back on gDefaultTracer.
« no previous file with comments | « src/utils/SkDeferredCanvas.cpp ('k') | src/utils/SkTextBox.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698