rename tracing parameter to be more consistent with other methods

BUG=skia:
R=bsalomon@google.com

Author: humper@google.com

Review URL: https://codereview.chromium.org/136753013

git-svn-id: http://skia.googlecode.com/svn/trunk@13287 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2014-02-03 19:47:13 +00:00
parent e89d903378
commit 2859f9fbf3
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
class SK_API SkEventTracer { class SK_API SkEventTracer {
public: public:
typedef uint32_t Handle; typedef uint64_t Handle;
static SkEventTracer* GetInstance(); static SkEventTracer* GetInstance();
@ -51,7 +51,7 @@ public:
virtual const uint8_t* getCategoryGroupEnabled(const char* name) = 0; virtual const uint8_t* getCategoryGroupEnabled(const char* name) = 0;
virtual const char* getCategoryGroupName( virtual const char* getCategoryGroupName(
const uint8_t* category_group_enabled) = 0; const uint8_t* categoryEnabledFlag) = 0;
virtual SkEventTracer::Handle virtual SkEventTracer::Handle
addTraceEvent(char phase, addTraceEvent(char phase,

View File

@ -30,7 +30,7 @@ class SkDefaultEventTracer: public SkEventTracer {
return &no; return &no;
}; };
virtual const char* getCategoryGroupName( virtual const char* getCategoryGroupName(
const uint8_t* category_group_enabled) SK_OVERRIDE { const uint8_t* categoryEnabledFlag) SK_OVERRIDE {
static const char* dummy = "dummy"; static const char* dummy = "dummy";
return dummy; return dummy;
}; };