Revert "[PDF] Fix printing crashes caused by font streams that don't support getMemoryBase()."
This reverts commit r10918 Review URL: https://codereview.chromium.org/23351007 git-svn-id: http://skia.googlecode.com/svn/trunk@10920 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
6bb656b008
commit
ec415a8eac
@ -64,7 +64,7 @@ void SkPDFStream::emitObject(SkWStream* stream, SkPDFCatalog* catalog,
|
||||
|
||||
this->INHERITED::emitObject(stream, catalog, false);
|
||||
stream->writeText(" stream\n");
|
||||
stream->writeStream(fData.get(), fData->getLength());
|
||||
stream->write(fData->getMemoryBase(), fData->getLength());
|
||||
stream->writeText("\nendstream");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user