Index: experimental/PdfViewer/autogen/SkPdfComponentsWithMetadataDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/autogen/SkPdfComponentsWithMetadataDictionary_autogen.cpp (revision 0) |
+++ experimental/PdfViewer/autogen/SkPdfComponentsWithMetadataDictionary_autogen.cpp (revision 0) |
@@ -0,0 +1,9 @@ |
+#include "SkPdfComponentsWithMetadataDictionary_autogen.h" |
+ |
+SkPdfStream* SkPdfComponentsWithMetadataDictionary::Metadata() const { |
+ SkPdfStream* ret; |
+ if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret; |
+ // TODO(edisonn): warn about missing required field, assert for known good pdfs |
+ return NULL; |
+} |
+ |