Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D47737
This commit is contained in:
Sylvestre Ledru
2019-10-06 18:29:55 +00:00
parent 324f9595fa
commit 49802d0a8e
134 changed files with 602 additions and 610 deletions

View File

@@ -77,7 +77,8 @@ nsresult ScriptLoadHandler::DecodeRawDataHelper(const uint8_t* aData,
using namespace mozilla::Telemetry;
if (aEndOfStream && haveRead) {
// Compute the percent of data transfered incrementally.
Accumulate(DOM_SCRIPT_LOAD_INCREMENTAL_RATIO, 100 * haveRead / (haveRead + written));
Accumulate(DOM_SCRIPT_LOAD_INCREMENTAL_RATIO,
100 * haveRead / (haveRead + written));
// Compute the rate of transfer of the incremental data calls averaged
// across the time needed to complete the request.
auto streamingTime = TimeStamp::Now() - mFirstOnIncrementalData;