Commit 47dd9b1f authored by Raul Tambre's avatar Raul Tambre Committed by Commit Bot

//testing: Convert base::(U)Int(64)ToString(16) to NumberToString(16)

The former non-overloaded variants are deprecated.
Removed casts where they are now unnecessary.

This is a mechanical change; there is no intended behavior change.

Bug: 929827
Change-Id: Ib064163c5cbdc2a1d596ec26457eb0f41e0d39c2
Reviewed-on: https://chromium-review.googlesource.com/c/1461129
Commit-Queue: Raul Tambre <raul@tambre.ee>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#630542}
parent eda43b13
......@@ -53,14 +53,8 @@ void PrintResult(const std::string& measurement,
size_t value,
const std::string& units,
bool important) {
PrintResultsImpl(measurement,
modifier,
trace,
base::UintToString(static_cast<unsigned int>(value)),
std::string(),
std::string(),
units,
important);
PrintResultsImpl(measurement, modifier, trace, base::NumberToString(value),
std::string(), std::string(), units, important);
}
void PrintResult(const std::string& measurement,
......@@ -80,15 +74,9 @@ void AppendResult(std::string& output,
size_t value,
const std::string& units,
bool important) {
output += ResultsToString(
measurement,
modifier,
trace,
base::UintToString(static_cast<unsigned int>(value)),
std::string(),
std::string(),
units,
important);
output +=
ResultsToString(measurement, modifier, trace, base::NumberToString(value),
std::string(), std::string(), units, important);
}
void PrintResult(const std::string& measurement,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment