diff --git a/mozglue/baseprofiler/public/BaseProfilerMarkersPrerequisites.h b/mozglue/baseprofiler/public/BaseProfilerMarkersPrerequisites.h index 32a379bd867b..f6625e2f94ec 100644 --- a/mozglue/baseprofiler/public/BaseProfilerMarkersPrerequisites.h +++ b/mozglue/baseprofiler/public/BaseProfilerMarkersPrerequisites.h @@ -1030,6 +1030,14 @@ inline void StreamPayload( const ProfilerString8View& aPayload) { aWriter.StringProperty(aKey, aPayload); } + +template <> +inline void StreamPayload(baseprofiler::SpliceableJSONWriter& aWriter, + const Span aKey, + const Flow& aPayload) { + aWriter.FlowProperty(aKey, aPayload); +} + } // namespace detail // This helper class is used by MarkerTypes that want to support the general