aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-10 17:50:00 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-07-10 17:50:00 +0000
commit5c0b3134ab8633e47b328921516a9766be349109 (patch)
treeeff414e90bf23d2459398e9c34401a7456428cf1 /gm
parent41f9e6e45d54c73cc0cc4f84b46b48f9480ff396 (diff)
r4511 with handling for the Mac-specific CAN_IMAGE_PDF path
git-svn-id: http://skia.googlecode.com/svn/trunk@4513 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm')
-rw-r--r--gm/gmmain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp
index a360c47a57..0fc278c3ec 100644
--- a/gm/gmmain.cpp
+++ b/gm/gmmain.cpp
@@ -550,7 +550,7 @@ static ErrorBitfield test_drawing(GM* gm,
generate_pdf(gm, document);
#if CAN_IMAGE_PDF
SkAutoDataUnref data(document.copyToData());
- SkMemoryStream stream(data.data(), data.size());
+ SkMemoryStream stream(data->data(), data->size());
SkPDFDocumentToBitmap(&stream, bitmap);
#endif
} else if (gRec.fBackend == kXPS_Backend) {