base::trace_event::TraceEventHandle handle =Kai NinomiyaI think we can further simplify and
- Remove return param from TRACE_EVENT_API_ADD_TRACE_EVENT_WITH_THREAD_ID_AND_TIMESTAMP (AddTraceEventWithThreadIdAndTimestamp)
- Return 0 from this function
Done
static_assert(sizeof(handle) == sizeof(uint64_t),
"Following code assumes TraceEventHandle is just a uint64_t.");
base::trace_event::TraceEventHandle traceEventHandle{handle};
TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION(categoryEnabledFlag, name,
traceEventHandle);Kai NinomiyaI think we can further simplify and remove traceEventHandle param from TRACE_EVENT_API_UPDATE_TRACE_EVENT_DURATION (UpdateTraceEventDuration)
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |