| OLD | NEW |
| 1 #include "SkPdfWebCaptureDictionary_autogen.h" | 1 #include "SkPdfWebCaptureDictionary_autogen.h" |
| 2 | 2 |
| 3 std::string SkPdfWebCaptureDictionary::Type() const { | 3 std::string SkPdfWebCaptureDictionary::Type() const { |
| 4 std::string ret; | 4 std::string ret; |
| 5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r
et)) return ret; | 5 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &r
et)) 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 ""; | 7 return ""; |
| 8 } | 8 } |
| 9 | 9 |
| 10 std::string SkPdfWebCaptureDictionary::S() const { | 10 std::string SkPdfWebCaptureDictionary::S() const { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 48 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 49 return ""; | 49 return ""; |
| 50 } | 50 } |
| 51 | 51 |
| 52 SkPdfDate SkPdfWebCaptureDictionary::TS() const { | 52 SkPdfDate SkPdfWebCaptureDictionary::TS() const { |
| 53 SkPdfDate ret; | 53 SkPdfDate ret; |
| 54 if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TS", "", &ret
)) return ret; | 54 if (DateFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TS", "", &ret
)) return ret; |
| 55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s | 55 // TODO(edisonn): warn about missing required field, assert for known good pdf
s |
| 56 return SkPdfDate(); | 56 return SkPdfDate(); |
| 57 } | 57 } |
| OLD | NEW |