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

Unified Diff: experimental/PdfViewer/SkPdfImageDictionary_autogen.h

Issue 17294008: load font manually, for now Type0 (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/SkPdfImageDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfImageDictionary_autogen.h (revision 9685)
+++ experimental/PdfViewer/SkPdfImageDictionary_autogen.h (working copy)
@@ -187,11 +187,11 @@
return ret->podofo()->HasStream();
}
- SkPdfStream getMaskAsStream() const {
- SkPdfStream ret = SkPdfStream();
+ SkPdfStream* getMaskAsStream() const {
+ SkPdfStream* ret = NULL;
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Mask", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfStream();
+ return NULL;
}
bool isMaskAArray() const {
@@ -222,11 +222,11 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SMask", "", NULL));
}
- SkPdfStream SMask() const {
- SkPdfStream ret;
+ SkPdfStream* SMask() const {
+ SkPdfStream* ret;
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SMask", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfStream();
+ return NULL;
}
/** (Optional) An array of numbers describing how to map image samples
@@ -346,11 +346,11 @@
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
}
- SkPdfStream Metadata() const {
- SkPdfStream ret;
+ SkPdfStream* 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 SkPdfStream();
+ return NULL;
}
};

Powered by Google App Engine
This is Rietveld 408576698