зеркало из https://github.com/mozilla/gecko-dev.git
5d3808c6e5
Once the |aPayload| argument to profile_add_marker() became a UniquePtr the default value of nullptr caused compilation difficulties that could only be fixed by #including ProfilerMarkerPayload.h into lots of additional places (because the UniquePtr<T> instantiation required the T to be fully defined). To get around this I just split profile_add_marker() into two functions, one with 1 argument and one with 2 arguments. The patch also removes the definition of PROFILER_MARKER_PAYLOAD in the case where MOZ_GECKO_PROFILER isn't defined. A comment explains why. |
||
---|---|---|
.. | ||
ChildProfilerController.cpp | ||
PProfiler.ipdl | ||
ProfilerChild.cpp | ||
ProfilerIOInterposeObserver.cpp | ||
ProfilerIOInterposeObserver.h | ||
ProfilerParent.cpp | ||
ProfilerTypes.ipdlh | ||
ThreadResponsiveness.cpp | ||
ThreadResponsiveness.h | ||
nsIProfiler.idl | ||
nsProfiler.cpp | ||
nsProfiler.h | ||
nsProfilerCIID.h | ||
nsProfilerFactory.cpp | ||
nsProfilerStartParams.cpp | ||
nsProfilerStartParams.h |