diff options
author | Derek Sollenberger <djsollen@google.com> | 2011-04-14 09:57:06 -0400 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2011-04-14 15:01:11 -0400 |
commit | 87b8e645865f9633f410c02252a0fd3feb18f09b (patch) | |
tree | 21e2521ed6f69bf466849f7c9579c37aa6b22b06 /gm/gmmain.cpp | |
parent | 7f10e10e25231b613ebb242fa14ad8c924ce694f (diff) | |
download | external_skia-87b8e645865f9633f410c02252a0fd3feb18f09b.zip external_skia-87b8e645865f9633f410c02252a0fd3feb18f09b.tar.gz external_skia-87b8e645865f9633f410c02252a0fd3feb18f09b.tar.bz2 |
Skia Merge (revision 1116)
There is a companion change in external/webkit
Change-Id: I1c4110e7520bbef3f4e5f9551adb7ec79ac1e3ed
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); |