diff options
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r-- | gm/gmmain.cpp | 2 |
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) { |