diff options
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r-- | gm/gmmain.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index 357a54e..cb4e036 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -261,7 +261,10 @@ int main (int argc, char * const argv[]) { if (gRec[i].fBackend == kPDF_Backend && writePath) { #ifdef SK_SUPPORT_PDF SkISize size = gm->getISize(); - SkPDFDevice* dev = new SkPDFDevice(size.width(), size.height()); + SkMatrix identity; + identity.reset(); + SkPDFDevice* dev = new SkPDFDevice(size.width(), size.height(), + identity); SkAutoUnref aur(dev); SkCanvas c(dev); |