From b5502b20129a71c6bdb937792f940b7581dbb5ec Mon Sep 17 00:00:00 2001 From: Kevin Lubick Date: Mon, 12 Mar 2018 10:17:06 -0400 Subject: Small cleanups suggested by ClangTidy Bug: skia: Cq-Include-Trybots: skia.primary:Test-Debian9-Clang-GCE-CPU-AVX2-x86_64-Release-All-SKNX_NO_SIMD Change-Id: Idd95e359838fdaecbdccc3a2c5a1b36971f20b8b Reviewed-on: https://skia-review.googlesource.com/113703 Reviewed-by: Mike Klein Commit-Queue: Kevin Lubick --- tests/DrawOpAtlasTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/DrawOpAtlasTest.cpp') diff --git a/tests/DrawOpAtlasTest.cpp b/tests/DrawOpAtlasTest.cpp index e45ef525a1..ef219d9412 100644 --- a/tests/DrawOpAtlasTest.cpp +++ b/tests/DrawOpAtlasTest.cpp @@ -28,10 +28,10 @@ int GrDrawOpAtlas::numAllocated_TestingOnly() const { return count; } -void GrAtlasManager::setMaxPages_TestingOnly(uint32_t numPages) { +void GrAtlasManager::setMaxPages_TestingOnly(uint32_t maxPages) { for (int i = 0; i < kMaskFormatCount; i++) { if (fAtlases[i]) { - fAtlases[i]->setMaxPages_TestingOnly(numPages); + fAtlases[i]->setMaxPages_TestingOnly(maxPages); } } } -- cgit v1.2.3