Bug 1460147 - Unbreak platforms without GeckoProfiler after bug 1457323. r?mstange draft
authorJan Beich <jbeich@FreeBSD.org>
Wed, 09 May 2018 03:14:32 +0000
changeset 792952 12f0681009c5c2400638f3afc3c21bfd4099a73e
parent 792951 94a308a9ba67a0eabc80b4acf8ab26e5ba41c48c
push id109216
push userbmo:jbeich@FreeBSD.org
push dateWed, 09 May 2018 03:32:45 +0000
reviewersmstange
bugs1460147, 1457323
milestone62.0a1
Bug 1460147 - Unbreak platforms without GeckoProfiler after bug 1457323. r?mstange MozReview-Commit-ID: 5gqME25bjOi
tools/profiler/public/GeckoProfiler.h
--- a/tools/profiler/public/GeckoProfiler.h
+++ b/tools/profiler/public/GeckoProfiler.h
@@ -39,16 +39,17 @@
 
 #define AUTO_PROFILER_LABEL(label, category)
 #define AUTO_PROFILER_LABEL_DYNAMIC_CSTR(label, category, cStr)
 #define AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING(label, category, nsCStr)
 #define AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING(label, category, nsStr)
 #define AUTO_PROFILER_LABEL_FAST(label, category, ctx)
 
 #define PROFILER_ADD_MARKER(markerName)
+#define PROFILER_ADD_NETWORK_MARKER(uri, pri, channel, type, start, end, count, timings, redirect)
 
 #define PROFILER_TRACING(category, markerName, kind)
 #define AUTO_PROFILER_TRACING(category, markerName)
 
 #else // !MOZ_GECKO_PROFILER
 
 #include <functional>
 #include <signal.h>