aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xps/SkXPSDevice.cpp
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-18 15:37:41 +0000
commit2b0e6cd4d9b163fe61b3670127f5dc7cb7297f68 (patch)
tree5a5718fd8d7d0c7f03b98e826a4fadfcec4f38e0 /src/xps/SkXPSDevice.cpp
parenta44a8a16a8e801c08ee407cfaaafd892d5c2c407 (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/xps/SkXPSDevice.cpp')
-rw-r--r--src/xps/SkXPSDevice.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xps/SkXPSDevice.cpp b/src/xps/SkXPSDevice.cpp
index 797ff38483..b984ef3e88 100644
--- a/src/xps/SkXPSDevice.cpp
+++ b/src/xps/SkXPSDevice.cpp
@@ -361,7 +361,7 @@ static HRESULT subset_typeface(SkXPSDevice::TypefaceUse* current) {
nullptr);
SkAutoTMalloc<unsigned char> 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,