aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2018-01-03 20:13:34 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-01-04 01:37:30 +0000
commit67cd9b273f8f872e083ff897a07d3724ef4c1840 (patch)
tree5a43a28861022bcd563a884d123ecae83eec289b /tests
parent487a7520b5c97f1077ece4d87b9b82fac7b913e3 (diff)
TBR= Change-Id: I3a13fe015bc88029471930d51c741f99f38f0daa Reviewed-on: https://skia-review.googlesource.com/90404 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/SGTest.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/SGTest.cpp b/tests/SGTest.cpp
index b0cad5b8f3..25b69437b9 100644
--- a/tests/SGTest.cpp
+++ b/tests/SGTest.cpp
@@ -25,9 +25,9 @@ static void check_inval(skiatest::Reporter* reporter, const sk_sp<sksg::Node>& r
const auto bbox = root->revalidate(&ic, SkMatrix::I());
if (0) {
- printf("** bbox: [%f %f %f %f], ibbox: [%f %f %f %f]\n",
- bbox.fLeft, bbox.fTop, bbox.fRight, bbox.fBottom,
- ic.bounds().left(), ic.bounds().top(), ic.bounds().right(), ic.bounds().bottom());
+ SkDebugf("** bbox: [%f %f %f %f], ibbox: [%f %f %f %f]\n",
+ bbox.fLeft, bbox.fTop, bbox.fRight, bbox.fBottom,
+ ic.bounds().left(), ic.bounds().top(), ic.bounds().right(), ic.bounds().bottom());
}
REPORTER_ASSERT(reporter, bbox == expected_bounds);
@@ -39,9 +39,9 @@ static void check_inval(skiatest::Reporter* reporter, const sk_sp<sksg::Node>& r
const auto r1 = (*expected_damage)[i],
r2 = ic.begin()[i];
if (0) {
- printf("*** expected inval: [%f %f %f %f], actual: [%f %f %f %f]\n",
- r1.left(), r1.top(), r1.right(), r1.bottom(),
- r2.left(), r2.top(), r2.right(), r2.bottom());
+ SkDebugf("*** expected inval: [%f %f %f %f], actual: [%f %f %f %f]\n",
+ r1.left(), r1.top(), r1.right(), r1.bottom(),
+ r2.left(), r2.top(), r2.right(), r2.bottom());
}
REPORTER_ASSERT(reporter, r1 == r2);
}