aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkTraceEventCommon.h
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2018-03-13 12:11:06 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-03-13 18:29:42 +0000
commitc582827b762dec991f7ec87721ad4ec605954b3d (patch)
treece5f2d0e9b63e1f3af3b666f6925d46634a4def5 /src/core/SkTraceEventCommon.h
parent296de50b4c2e31f94b8c3fafae8fcd7bcfb00e0b (diff)
Include correct trace.h.
SkTraceEventCommon.h currently includes <utils/Trace.h>, but doesn't actually use anything directly from it. In addition, Skia doesn't directly depend on libutils, but instead on libcutils. As a result, replace the <utils/Trace.h> include with <cutils/trace.h> which is what actually provides all the needed macros and declarations. Change-Id: Ic6a7283c71fc94058f735b1b3e541fec3a7db760 Reviewed-on: https://skia-review.googlesource.com/114099 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'src/core/SkTraceEventCommon.h')
-rw-r--r--src/core/SkTraceEventCommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkTraceEventCommon.h b/src/core/SkTraceEventCommon.h
index 35368f5eb2..46c4036748 100644
--- a/src/core/SkTraceEventCommon.h
+++ b/src/core/SkTraceEventCommon.h
@@ -58,7 +58,7 @@
#ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK
-#include <utils/Trace.h>
+#include <cutils/trace.h>
struct SkAndroidFrameworkTraceUtil {
SkAndroidFrameworkTraceUtil(const char* name) {