aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTraceEventCommon.h
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2017-07-26 09:36:09 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-26 14:22:19 +0000
commit39c08ac3be30f9956cea7c5e4fd9a1d86e993a65 (patch)
tree0a51e1be04f6f4bbbc30e2082019316a43d4fbbf /src/core/SkTraceEventCommon.h
parent9ac801c12c48b67b48e5a8ef2876a093b7de73fc (diff)
Automatically prepend "disabled-by-default-" to TRACE categories
Ensures that all Skia events are disabled by default in Chrome, and eliminates redundant typing. Bug: skia: Change-Id: I289c5e5a01084fcf4cccf512da65a4727f4aeca2 Reviewed-on: https://skia-review.googlesource.com/26880 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkTraceEventCommon.h')
-rw-r--r--src/core/SkTraceEventCommon.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/core/SkTraceEventCommon.h b/src/core/SkTraceEventCommon.h
index be705eef06..dbce48f56d 100644
--- a/src/core/SkTraceEventCommon.h
+++ b/src/core/SkTraceEventCommon.h
@@ -54,12 +54,6 @@
#error "Another copy of this file has already been included."
#endif
-#define TRACE_DISABLED_BY_DEFAULT_PREFIX "disabled-by-default-"
-
-// This will mark the trace event as disabled by default. The user will need
-// to explicitly enable the event.
-#define TRACE_DISABLED_BY_DEFAULT(name) TRACE_DISABLED_BY_DEFAULT_PREFIX name
-
// Records a pair of begin and end events called "name" for the current scope, with 0, 1 or 2
// associated arguments. If the category is not enabled, then this does nothing.
#define TRACE_EVENT0(category_group, name) \