зеркало из 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. |
||
---|---|---|
.. | ||
base | ||
build | ||
components | ||
doc | ||
ds | ||
glue | ||
idl-parser | ||
io | ||
libxpt/xptcall | ||
reflect | ||
rust | ||
string | ||
system | ||
tests | ||
threads | ||
typelib | ||
windbgdlg | ||
xpidl | ||
moz.build | ||
xpcom-config.h.in | ||
xpcom-private.h.in |