r4511 with handling for the Mac-specific CAN_IMAGE_PDF path
authorrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Jul 2012 17:50:00 +0000 (17:50 +0000)
committerrobertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 10 Jul 2012 17:50:00 +0000 (17:50 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@4513 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/gmmain.cpp

index a360c47..0fc278c 100644 (file)
@@ -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) {