Index: include/core/SkPostConfig.h |
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h |
index a7fbba7c787967b5196262800e06bb5efa2f0803..c3255b87681630e0fd7e552bdabebdc2d904d5a8 100644 |
--- a/include/core/SkPostConfig.h |
+++ b/include/core/SkPostConfig.h |
@@ -346,6 +346,12 @@ |
////////////////////////////////////////////////////////////////////// |
+#if defined(SK_HISTOGRAM_ENUMERATION) && defined(SK_HISTOGRAM_BOOLEAN) |
+# define SK_HISTOGRAMS_ENABLED 1 |
+#else |
+# define SK_HISTOGRAMS_ENABLED 0 |
+#endif |
+ |
#ifndef SK_HISTOGRAM_BOOLEAN |
# define SK_HISTOGRAM_BOOLEAN(name, value) |
#endif |