Fix float-cast-overflow in square root of pixels calculations.
Some of the canvas UMA histograms use the square root of total pixels in an image or canvas in this CL uses CheckedNumeric to avoid overflow. Bug: 905314 Change-Id: I10a85c5c372406449a64f1e32153d58d560e901c Reviewed-on: https://chromium-review.googlesource.com/c/1351519 Commit-Queue: David Quiroz Marin <davidqu@chromium.org> Reviewed-by:Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#611916}
Showing
Please register or sign in to comment