| Index: src/pdf/SkPDFDocument.cpp
|
| diff --git a/src/pdf/SkPDFDocument.cpp b/src/pdf/SkPDFDocument.cpp
|
| index 75af5a947b81ee7cbaa4e5a14e670820dfbfe093..8280551f8aabdcb5bfd283a1fd0613d514178b11 100644
|
| --- a/src/pdf/SkPDFDocument.cpp
|
| +++ b/src/pdf/SkPDFDocument.cpp
|
| @@ -47,10 +47,10 @@ static void perform_font_subsetting(SkPDFCatalog* catalog,
|
| }
|
| }
|
|
|
| -SkPDFDocument::SkPDFDocument(Flags flags)
|
| +SkPDFDocument::SkPDFDocument()
|
| : fXRefFileOffset(0),
|
| fTrailerDict(NULL) {
|
| - fCatalog.reset(new SkPDFCatalog(flags));
|
| + fCatalog.reset(SkNEW(SkPDFCatalog));
|
| fDocCatalog = SkNEW_ARGS(SkPDFDict, ("Catalog"));
|
| fCatalog->addObject(fDocCatalog, true);
|
| fFirstPageResources = NULL;
|
|
|