Merge m-c to autoland a=merge

MozReview-Commit-ID: LOGgOErcV9L
This commit is contained in:
Wes Kocher
2017-04-26 17:43:38 -07:00
147 changed files with 19194 additions and 18599 deletions

View File

@@ -83,7 +83,7 @@ MsSinceProcessStart(double* aResult)
{
bool error;
*aResult = (TimeStamp::NowLoRes() -
TimeStamp::ProcessCreation(error)).ToMilliseconds();
TimeStamp::ProcessCreation(&error)).ToMilliseconds();
if (error) {
return NS_ERROR_NOT_AVAILABLE;
}

View File

@@ -588,8 +588,7 @@ TelemetryEvent::RecordChildEvents(GeckoProcessType aProcessType,
// Timestamps from child processes are absolute. We fix them up here to be
// relative to the main process start time.
// This allows us to put events from all processes on the same timeline.
bool inconsistent = false;
double relativeTimestamp = (e.timestamp - TimeStamp::ProcessCreation(inconsistent)).ToMilliseconds();
double relativeTimestamp = (e.timestamp - TimeStamp::ProcessCreation()).ToMilliseconds();
::RecordEvent(locker, aProcessType, relativeTimestamp, e.category, e.method, e.object, e.value, e.extra);
}