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/xps/SkXPSDevice.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/xps') diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp index b984ef3e88..797ff38483 100644 --- a/src/xps/SkXPSDevice.cpp +++ b/src/xps/SkXPSDevice.cpp @@ -361,7 +361,7 @@ static HRESULT subset_typeface(SkXPSDevice::TypefaceUse* current) { nullptr); SkAutoTMalloc fontPackageBuffer(fontPackageBufferRaw); if (result != NO_ERROR) { - SkDEBUGF("CreateFontPackage Error %lu", result); + SkDEBUGF(("CreateFontPackage Error %lu", result)); return E_UNEXPECTED; } @@ -1654,7 +1654,7 @@ void SkXPSDevice::drawPath(const SkPath& platonicPath, pathIsMutable = true; } if (!Simplify(*fillablePath, xpsCompatiblePath)) { - SkDEBUGF("Could not simplify inverse winding path."); + SkDEBUGF(("Could not simplify inverse winding path.")); return; } } @@ -1818,7 +1818,7 @@ void SkXPSDevice::drawBitmap(const SkBitmap& bitmap, void SkXPSDevice::drawSprite(const SkBitmap& bitmap, int x, int y, const SkPaint& paint) { //TODO: override this for XPS - SkDEBUGF("XPS drawSprite not yet implemented."); + SkDEBUGF(("XPS drawSprite not yet implemented.")); } HRESULT SkXPSDevice::CreateTypefaceUse(const SkPaint& paint, -- cgit v1.2.3