aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-03 18:09:32 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-03 18:09:32 +0000
commit3458a1736feae84eba985591a8ab8d26530d96c8 (patch)
tree17d4aab7cd41fb064391d1096f4c6a89982e6c6b
parentc22d1398089fdb95480fb3459b23e4931e4f5280 (diff)
clean up a couple of parameters in the tracing interface
BUG=skia: R=bsalomon@google.com Author: humper@google.com Review URL: https://codereview.chromium.org/145973011 git-svn-id: http://skia.googlecode.com/svn/trunk@13283 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--include/utils/SkEventTracer.h4
-rw-r--r--src/utils/SkEventTracer.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/utils/SkEventTracer.h b/include/utils/SkEventTracer.h
index 1d9ba3792b..f0e2a5580c 100644
--- a/include/utils/SkEventTracer.h
+++ b/include/utils/SkEventTracer.h
@@ -49,7 +49,7 @@ public:
kEnabledForEventCallback_CategoryGroupEnabledFlags = 1 << 2,
};
- virtual const unsigned char* getCategoryGroupEnabled(const char* name) = 0;
+ virtual const uint8_t* getCategoryGroupEnabled(const char* name) = 0;
virtual const char* getCategoryGroupName(
const uint8_t* category_group_enabled) = 0;
@@ -67,7 +67,7 @@ public:
virtual void
updateTraceEventDuration(const uint8_t* categoryEnabledFlag,
const char* name,
- SkEventTracer::Handle) = 0;
+ SkEventTracer::Handle handle) = 0;
private:
static SkEventTracer *gInstance;
};
diff --git a/src/utils/SkEventTracer.cpp b/src/utils/SkEventTracer.cpp
index f9e72de6b8..4b37e95be4 100644
--- a/src/utils/SkEventTracer.cpp
+++ b/src/utils/SkEventTracer.cpp
@@ -23,7 +23,7 @@ class SkDefaultEventTracer: public SkEventTracer {
virtual void
updateTraceEventDuration(const uint8_t* categoryEnabledFlag,
const char* name,
- SkEventTracer::Handle) SK_OVERRIDE {};
+ SkEventTracer::Handle handle) SK_OVERRIDE {};
virtual const uint8_t* getCategoryGroupEnabled(const char* name) SK_OVERRIDE {
static uint8_t no = 0;