Fix variable name in new uma macro.

Bug: skia:10871
Change-Id: Idfdd2cca2642bad597eaff1bda8b240d6740d7f0
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/330156
Commit-Queue: Greg Daniel <egdaniel@google.com>
Commit-Queue: Brian Salomon <bsalomon@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Greg Daniel 2020-10-28 09:36:20 -04:00 committed by Skia Commit-Bot
parent 15bfe3837a
commit ca107f3287

View File

@ -668,7 +668,7 @@ bool GrGpu::submitToGpu(bool syncCpu) {
// than the number of actual values
static constexpr int kMaxRenderPassBucketValue = 100;
SK_HISTOGRAM_EXACT_LINEAR("SubmitRenderPasses",
std::min(fCurrentSubmitRenderPassCount, kMaxRenderPassBucket),
std::min(fCurrentSubmitRenderPassCount, kMaxRenderPassBucketValue),
kMaxRenderPassBucketValue);
fCurrentSubmitRenderPassCount = 0;
#endif