aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2014-08-19 07:39:40 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-19 07:39:41 -0700
commit38dd9f2e41748953f46e5daaf341971a851b247d (patch)
tree935bca93c87a846b608671dd634f5fed11c73951 /tests
parent3ba54fa0adb0a9bb81c09ef18d6f8cebea311a6f (diff)
remove unused SkIntToFloatCast_NoOverflowCheck
R=reed@google.com, reed BUG=skia:2849 Author: caryclark@google.com Review URL: https://codereview.chromium.org/483273003
Diffstat (limited to 'tests')
-rw-r--r--tests/MathTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/MathTest.cpp b/tests/MathTest.cpp
index 4205ce6cf5..20539369b8 100644
--- a/tests/MathTest.cpp
+++ b/tests/MathTest.cpp
@@ -264,9 +264,7 @@ static void test_float_conversions(skiatest::Reporter* reporter, float x) {
static void test_int2float(skiatest::Reporter* reporter, int ival) {
float x0 = (float)ival;
float x1 = SkIntToFloatCast(ival);
- float x2 = SkIntToFloatCast_NoOverflowCheck(ival);
REPORTER_ASSERT(reporter, x0 == x1);
- REPORTER_ASSERT(reporter, x0 == x2);
}
static void unittest_fastfloat(skiatest::Reporter* reporter) {