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/FloatingPointTextureTest.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/FloatingPointTextureTest.cpp')
-rw-r--r-- | tests/FloatingPointTextureTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/FloatingPointTextureTest.cpp b/tests/FloatingPointTextureTest.cpp index 816b0d37d8..d1718f8b48 100644 --- a/tests/FloatingPointTextureTest.cpp +++ b/tests/FloatingPointTextureTest.cpp @@ -23,7 +23,6 @@ #include "SkHalf.h" static const int DEV_W = 100, DEV_H = 100; -static const SkIRect DEV_RECT = SkIRect::MakeWH(DEV_W, DEV_H); template <typename T> void runFPTest(skiatest::Reporter* reporter, GrContext* context, |