aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/DrawBitmapRectTest.cpp
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-02 15:49:25 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-01-02 15:49:25 +0000
commitdf194a47d21732af5671b358854b539233aba1e7 (patch)
treed7aadfc82dc620474a98c0b506633bc424766325 /tests/DrawBitmapRectTest.cpp
parente78dd4b529e1677dfb9ee395ddf9f89614b7e8ea (diff)
remove #ifdef for scalar==float, since it always is
git-svn-id: http://skia.googlecode.com/svn/trunk@6964 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/DrawBitmapRectTest.cpp')
-rw-r--r--tests/DrawBitmapRectTest.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/DrawBitmapRectTest.cpp b/tests/DrawBitmapRectTest.cpp
index f74199efa3..7dc51c04ef 100644
--- a/tests/DrawBitmapRectTest.cpp
+++ b/tests/DrawBitmapRectTest.cpp
@@ -10,7 +10,6 @@
#include "SkCanvas.h"
#include "SkShader.h"
-#ifdef SK_SCALAR_IS_FLOAT
static void assert_ifDrawnTo(skiatest::Reporter* reporter,
const SkBitmap& bm, bool shouldBeDrawn) {
for (int y = 0; y < bm.height(); ++y) {
@@ -74,7 +73,6 @@ static void test_wacky_bitmapshader(skiatest::Reporter* reporter,
assert_ifDrawnTo(reporter, dev, shouldBeDrawn);
}
-#endif
/*
* Original bug was asserting that the matrix-proc had generated a (Y) value