diff options
Diffstat (limited to 'chromium/third_party/skia/tools/skpbench/skpbench.cpp')
-rw-r--r-- | chromium/third_party/skia/tools/skpbench/skpbench.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/skia/tools/skpbench/skpbench.cpp b/chromium/third_party/skia/tools/skpbench/skpbench.cpp index 8020aa4e1b4..d64234da01e 100644 --- a/chromium/third_party/skia/tools/skpbench/skpbench.cpp +++ b/chromium/third_party/skia/tools/skpbench/skpbench.cpp @@ -760,6 +760,6 @@ sk_gpu_test::FlushFinishTracker* GpuSync::newFlushTracker(GrDirectContext* conte // callback on the flush call. The finish callback will unref the tracker when called. tracker->ref(); - fCurrentFlushIdx = (fCurrentFlushIdx + 1) % SK_ARRAY_COUNT(fFinishTrackers); + fCurrentFlushIdx = (fCurrentFlushIdx + 1) % std::size(fFinishTrackers); return tracker; } |