Index: src/inspector/v8-console.cc |
diff --git a/src/inspector/v8-console.cc b/src/inspector/v8-console.cc |
index 0fb8045de06be03a11d15d13849a28d907af891f..ddd4bf629e42a31b02b8b509725bcce937188e99 100644 |
--- a/src/inspector/v8-console.cc |
+++ b/src/inspector/v8-console.cc |
@@ -431,7 +431,7 @@ static void timeEndFunction(const v8::FunctionCallbackInfo<v8::Value>& info, |
double elapsed = client->currentTimeMS() - |
helper.getDoubleFromMap(timeMap, protocolTitle, 0.0); |
String16 message = |
- protocolTitle + ": " + String16::fromDoublePrecision3(elapsed) + "ms"; |
+ protocolTitle + ": " + String16::fromDouble(elapsed, 3) + "ms"; |
helper.reportCallWithArgument(ConsoleAPIType::kTimeEnd, message); |
} |
} |