Merge "Remove no-op std::max call"

This commit is contained in:
Yi Kong
2017-05-01 18:29:24 +00:00
committed by Gerrit Code Review

View File

@@ -265,7 +265,6 @@ void JankTracker::addFrame(const FrameInfo& frame) {
/ kSlowFrameBucketIntervalMs;
framebucket = std::min(framebucket,
static_cast<uint32_t>(mData->slowFrameCounts.size() - 1));
framebucket = std::max(framebucket, 0u);
mData->slowFrameCounts[framebucket]++;
}