diff options
Diffstat (limited to 'experimental/PdfViewer/autogen/SkPdfCIDFontDictionary_autogen.cpp')
-rw-r--r-- | experimental/PdfViewer/autogen/SkPdfCIDFontDictionary_autogen.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/experimental/PdfViewer/autogen/SkPdfCIDFontDictionary_autogen.cpp b/experimental/PdfViewer/autogen/SkPdfCIDFontDictionary_autogen.cpp index 1f7d27a01d..2c5d9f975d 100644 --- a/experimental/PdfViewer/autogen/SkPdfCIDFontDictionary_autogen.cpp +++ b/experimental/PdfViewer/autogen/SkPdfCIDFontDictionary_autogen.cpp @@ -28,9 +28,9 @@ SkPdfDictionary* SkPdfCIDFontDictionary::CIDSystemInfo() const { return NULL; } -SkPdfDictionary* SkPdfCIDFontDictionary::FontDescriptor() const { - SkPdfDictionary* ret; - if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontDescriptor", "", &ret)) return ret; +SkPdfFontDescriptorDictionary* SkPdfCIDFontDictionary::FontDescriptor() const { + SkPdfFontDescriptorDictionary* ret; + if (FontDescriptorDictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontDescriptor", "", &ret)) return ret; // TODO(edisonn): warn about missing required field, assert for known good pdfs return NULL; } @@ -76,3 +76,4 @@ std::string SkPdfCIDFontDictionary::getCIDToGIDMapAsName() const { // TODO(edisonn): warn about missing required field, assert for known good pdfs return ""; } + |