From e923cccb258e920d1ef91ff39a4da83d8c856d0e Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 11 Jul 2018 16:45:06 +0000 Subject: Revert "SkDEBUGF: use __VA_ARGS__" This reverts commit 2267a092356d17f6444502dc92491485ccf24341. Reason for revert: It looks like Google 3 is failing to compile w/ this CL Original change's description: > SkDEBUGF: use __VA_ARGS__ > > Change-Id: I42a47e821ff7a7f6cec65b38a8216cabbf0acfce > Reviewed-on: https://skia-review.googlesource.com/139860 > Reviewed-by: Mike Klein > Commit-Queue: Hal Canary TBR=mtklein@google.com,halcanary@google.com,reed@google.com Change-Id: I3aab490f3d2fea103fc915ca01cb0e294df86739 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://skia-review.googlesource.com/140660 Reviewed-by: Robert Phillips Commit-Queue: Robert Phillips --- src/ports/SkFontHost_FreeType_common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ports/SkFontHost_FreeType_common.cpp') diff --git a/src/ports/SkFontHost_FreeType_common.cpp b/src/ports/SkFontHost_FreeType_common.cpp index af2e442365..bd15834775 100644 --- a/src/ports/SkFontHost_FreeType_common.cpp +++ b/src/ports/SkFontHost_FreeType_common.cpp @@ -176,7 +176,7 @@ void copyFT2LCD16(const FT_Bitmap& bitmap, const SkMask& mask, int lcdIsBGR, } break; default: - SkDEBUGF("FT_Pixel_Mode %d", bitmap.pixel_mode); + SkDEBUGF(("FT_Pixel_Mode %d", bitmap.pixel_mode)); SkDEBUGFAIL("unsupported FT_Pixel_Mode for LCD16"); break; } @@ -276,7 +276,7 @@ void copyFTBitmap(const FT_Bitmap& srcFTBitmap, SkMask& dstMask) { dst += dstRowBytes; } } else { - SkDEBUGF("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat); + SkDEBUGF(("FT_Pixel_Mode %d, SkMask::Format %d\n", srcFormat, dstFormat)); SkDEBUGFAIL("unsupported combination of FT_Pixel_Mode and SkMask::Format"); } } -- cgit v1.2.3