diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-03-12 10:17:06 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-12 14:44:18 +0000 |
commit | b5502b20129a71c6bdb937792f940b7581dbb5ec (patch) | |
tree | e9703f44f35f95ca23cfcba4e12b79bc284a335a /tests/DrawOpAtlasTest.cpp | |
parent | 689d02d4b480289aacaeb2da83b93d733cdfcb0f (diff) |
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 <mtklein@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Diffstat (limited to 'tests/DrawOpAtlasTest.cpp')
-rw-r--r-- | tests/DrawOpAtlasTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } } |