Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(924)

Unified Diff: experimental/PdfViewer/SkPdfResourceDictionary_autogen.h

Issue 17395005: put each generated pdf api class in a file (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfResourceDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfResourceDictionary_autogen.h (revision 9669)
+++ experimental/PdfViewer/SkPdfResourceDictionary_autogen.h (working copy)
@@ -7,8 +7,8 @@
class SkPdfResourceDictionary : public SkPdfDictionary {
public:
- virtual SkPdfObjectType getType() const { return kObjectDictionaryResourceDictionary_SkPdfObjectType;}
- virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kObjectDictionaryResourceDictionary_SkPdfObjectType + 1);}
+ virtual SkPdfObjectType getType() const { return kResourceDictionary_SkPdfObjectType;}
+ virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kResourceDictionary_SkPdfObjectType + 1);}
public:
virtual SkPdfResourceDictionary* asResourceDictionary() {return this;}
virtual const SkPdfResourceDictionary* asResourceDictionary() const {return this;}
@@ -549,11 +549,11 @@
return NULL;
}
- SkPdfStream XObject() const {
- SkPdfStream ret;
- if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "XObject", "", &ret)) return ret;
+ SkPdfDictionary* XObject() const {
+ SkPdfDictionary* ret;
+ if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "XObject", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfStream();
+ return NULL;
}
SkPdfDictionary* Font() const {

Powered by Google App Engine
This is Rietveld 408576698