diff options
Diffstat (limited to 'src/pdf/SkPDFDevice.cpp')
-rw-r--r-- | src/pdf/SkPDFDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 68c210d2bc..d05b640682 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -1119,7 +1119,7 @@ void SkPDFDevice::copyContentEntriesToData(ContentEntry* entry, gsState.updateDrawingState(entry->fState); SkAutoDataUnref copy(entry->fContent.copyToData()); - data->write(copy.data(), copy.size()); + data->write(copy->data(), copy->size()); entry = entry->fNext.get(); } gsState.drainStack(); |