Do not use std::max with unsigned 0 argument.
Do not use std::max with unsigned 0 argument.

0 is the lowest value for an unsigned value, so 'std::max(x, 0)' is equivalent
to just 'x'.  One of three fixes was made:

1) Remove the std::max call.
std::max(x, 0u)  ==>  x

2) Perform a comparison before the subtraction
std::max(x - y, 0u)  ==>  x > y ? x - y : 0u

3) Change argument to signed value first
std::max(x - y, 0u) ==>  std::max(static_cast<int>(x) - static_cast<int>(y), 0)

Tested:
    TAP presubmits for global presubmit queue
    http://test/OCL:139978278:BASE:139982182:1479875411442:76b7e19e
PiperOrigin-RevId: 140404655
Change-Id: Id2f9e0cd1cd1b821bd35cc5b27b846a33da508ee

google/flatui,google/flatui,google/flatui,google/flatui