use cmath functions instead of math.h for consistency
std::isnan seems to be used a lot more in the tree and other cmath functions are used in base_rendering_context_2d.cc, so let's use std::isnan here too. This has a side benefit of working on some older toolchains that don't like to mix math.h and cmath. While we're at it, include the required header files for other standard library types. Change-Id: I61c9333c984dd1332f1f18ce21550474a193275c Reviewed-on: https://chromium-review.googlesource.com/c/1301440Reviewed-by:Fernando Serboncini <fserb@chromium.org> Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com> Cr-Commit-Position: refs/heads/master@{#603093}
Showing
Please register or sign in to comment