diff options
author | Cary Clark <caryclark@skia.org> | 2017-10-05 11:27:53 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-05 16:55:34 +0000 |
commit | 583dd2bbc0e0a3bb784d315e25b6575270572e06 (patch) | |
tree | 2ff87eac1595f1b8c0a05d195042d5941fade46f /tests/PackedConfigsTextureTest.cpp | |
parent | 2a769859f03f69e510e3dbde58e10313012dcbf7 (diff) |
add constexpr to SkRect, SkIRect Make functions
Also, doing so exposed a couple of unused
variables in tests.
R: bsalomon@google.com
Bug: skia: 6898
Change-Id: I7b065e26a838fe55a1d772bcefaef5325e1baa61
Reviewed-on: https://skia-review.googlesource.com/55680
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Diffstat (limited to 'tests/PackedConfigsTextureTest.cpp')
-rw-r--r-- | tests/PackedConfigsTextureTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/PackedConfigsTextureTest.cpp b/tests/PackedConfigsTextureTest.cpp index f91fc428e6..5d54861196 100644 --- a/tests/PackedConfigsTextureTest.cpp +++ b/tests/PackedConfigsTextureTest.cpp @@ -20,7 +20,6 @@ #include "GrTextureProxy.h" static const int DEV_W = 10, DEV_H = 10; -static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H); static const uint8_t TOL = 0x4; static void check_component(skiatest::Reporter* reporter, uint8_t control, uint8_t test) { |