aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BitmapTest.cpp
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-02-24 17:59:16 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-24 17:59:16 -0800
commit7d57124a2a9ed7b271568fb75b3cfd949fdb313a (patch)
tree34a0d37411771ccceb3dc4537a19c8360e1f5cfb /tests/BitmapTest.cpp
parent8e9f5e39d774198a5a5d9345bc9f863e855c593b (diff)
Unit Tests: eliminate stray SkDebugf()s.
Diffstat (limited to 'tests/BitmapTest.cpp')
-rw-r--r--tests/BitmapTest.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp
index 015b917464..f939875cf2 100644
--- a/tests/BitmapTest.cpp
+++ b/tests/BitmapTest.cpp
@@ -151,9 +151,7 @@ static void test_erasecolor_premul(skiatest::Reporter* reporter, SkColorType ct,
SkBitmap bm;
bm.allocPixels(SkImageInfo::Make(1, 1, ct, kPremul_SkAlphaType));
bm.eraseColor(input);
- if (reporter->verbose()) {
- SkDebugf("expected: %x actual: %x\n", expected, bm.getColor(0, 0));
- }
+ INFOF(reporter, "expected: %x actual: %x\n", expected, bm.getColor(0, 0));
REPORTER_ASSERT(reporter, bm.getColor(0, 0) == expected);
}