| Index: experimental/PdfViewer/pdf_viewer_main.cpp
|
| ===================================================================
|
| --- experimental/PdfViewer/pdf_viewer_main.cpp (revision 9734)
|
| +++ experimental/PdfViewer/pdf_viewer_main.cpp (working copy)
|
| @@ -143,6 +143,7 @@
|
| const char* abr,
|
| SkPdfFunction* data);
|
|
|
| +bool skpdfmap(const PdfMemDocument& podofoDoc, const PdfObject& podofoObj, SkPdfObject** out);
|
|
|
| #include "SkPdfHeaders_autogen.h"
|
| #include "SkPdfPodofoMapper_autogen.h"
|
| @@ -152,6 +153,11 @@
|
| // TODO(edisonn): fix the mess with the files.
|
| #include "SkPdfFont.cpp"
|
|
|
| +bool skpdfmap(const PdfMemDocument& podofoDoc, const PdfObject& podofoObj, SkPdfObject** out) {
|
| + return PodofoMapper::map(podofoDoc, podofoObj, out);
|
| +}
|
| +
|
| +
|
| bool ArrayFromDictionary(const PdfMemDocument* pdfDoc,
|
| const PdfDictionary& dict,
|
| const char* key,
|
|
|