diff options
author | Hal Canary <halcanary@google.com> | 2018-07-09 12:43:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-18 15:37:41 +0000 |
commit | 2b0e6cd4d9b163fe61b3670127f5dc7cb7297f68 (patch) | |
tree | 5a5718fd8d7d0c7f03b98e826a4fadfcec4f38e0 /src/utils | |
parent | a44a8a16a8e801c08ee407cfaaafd892d5c2c407 (diff) |
Reland "SkDEBUGF: use __VA_ARGS__"
This is a reland of 2267a092356d17f6444502dc92491485ccf24341
Original change's description:
> 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>
Change-Id: Ia06567e441a414f4dcdbe5663160082f889f9fef
Reviewed-on: https://skia-review.googlesource.com/141762
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/SkFloatUtils.h | 2 | ||||
-rw-r--r-- | src/utils/SkMultiPictureDocument.cpp | 2 |
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; } |