Remove no-op std::max call
This was calling std::max on an unsigned integer and 0, which is essentially no-op. Remove this code. Test: Build Bug: 37752547 Change-Id: I74ce45b95960621dff11f574fbe1af60ad147cf0
This commit is contained in:
@@ -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]++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user