Commit 91de4f50 authored by Michaël Zasso's avatar Michaël Zasso Committed by Commit Bot

[embedder-tracing] Fix usage of std::isinf

Introduced in https://chromium-review.googlesource.com/1183431.
The namespace was missing making compilation of Node.js with GCC fail.

Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
Change-Id: I55c1117ab347db17fd8acfa92c653e8cf737586f
Reviewed-on: https://chromium-review.googlesource.com/1188126Reviewed-by: 's avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Michaël Zasso <mic.besace@gmail.com>
Cr-Commit-Position: refs/heads/master@{#55377}
parent cfa5fec6
......@@ -10471,9 +10471,9 @@ bool EmbedderHeapTracer::AdvanceTracing(double deadline_in_ms) {
#pragma clang diagnostic ignored "-Wdeprecated"
#endif
return !this->AdvanceTracing(
deadline_in_ms,
AdvanceTracingActions(isinf(deadline_in_ms) ? FORCE_COMPLETION
: DO_NOT_FORCE_COMPLETION));
deadline_in_ms, AdvanceTracingActions(std::isinf(deadline_in_ms)
? FORCE_COMPLETION
: DO_NOT_FORCE_COMPLETION));
#if __clang__
#pragma clang diagnostic pop
#endif
......
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