| OLD | NEW |
| 1 #include "SkPdfStructureElementAccessDictionary_autogen.h" | 1 #include "SkPdfStructureElementAccessDictionary_autogen.h" |
| 2 | 2 |
| 3 long SkPdfStructureElementAccessDictionary::StructParent() const { | 3 long SkPdfStructureElementAccessDictionary::StructParent() const { |
| 4 long ret; | 4 long ret; |
| 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructParent"
, "", &ret)) return ret; | 5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructParent"
, "", &ret)) return ret; |
| 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 6 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 7 return 0; | 7 return 0; |
| 8 } | 8 } |
| 9 | 9 |
| 10 long SkPdfStructureElementAccessDictionary::StructParents() const { | 10 long SkPdfStructureElementAccessDictionary::StructParents() const { |
| 11 long ret; | 11 long ret; |
| 12 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructParents
", "", &ret)) return ret; | 12 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StructParents
", "", &ret)) return ret; |
| 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 13 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 14 return 0; | 14 return 0; |
| 15 } | 15 } |
| 16 |
| OLD | NEW |