aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar Hal Canary <halcanary@google.com>2018-07-09 12:43:39 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-11 15:40:18 +0000
commit2267a092356d17f6444502dc92491485ccf24341 (patch)
tree28d18ae014c14d9a7f447bf0895c10ce51975268 /src/utils
parent22647d0e84ec63b76b9d26153c59d9338b761107 (diff)
SkDEBUGF: use __VA_ARGS__
Change-Id: I42a47e821ff7a7f6cec65b38a8216cabbf0acfce Reviewed-on: https://skia-review.googlesource.com/139860 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/SkFloatUtils.h2
-rw-r--r--src/utils/SkMultiPictureDocument.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/SkFloatUtils.h b/src/utils/SkFloatUtils.h
index 101aac7474..b89f5c4d21 100644
--- a/src/utils/SkFloatUtils.h
+++ b/src/utils/SkFloatUtils.h
@@ -116,7 +116,7 @@ public:
const Bits dist = DistanceBetweenSignAndMagnitudeNumbers(fU.bits,
rhs.fU.bits);
- //SkDEBUGF(("(%f, %f, %d) ", u_.value_, rhs.u_.value_, dist));
+ //SkDEBUGF("(%f, %f, %d) ", u_.value_, rhs.u_.value_, dist);
return dist <= kMaxUlps;
}
diff --git a/src/utils/SkMultiPictureDocument.cpp b/src/utils/SkMultiPictureDocument.cpp
index f7081e6d56..f8eaaf8269 100644
--- a/src/utils/SkMultiPictureDocument.cpp
+++ b/src/utils/SkMultiPictureDocument.cpp
@@ -195,7 +195,7 @@ bool SkMultiPictureDocumentRead(SkStreamSeekable* stream,
// PagerCanvas::onDrawAnnotation().
picture->playback(&canvas);
if (canvas.fIndex != dstArrayCount) {
- SkDEBUGF(("Malformed SkMultiPictureDocument\n"));
+ SkDEBUGF("Malformed SkMultiPictureDocument\n");
}
return true;
}