Index: experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.h |
=================================================================== |
--- experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.h (revision 10854) |
+++ experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.h (working copy) |
@@ -36,6 +36,7 @@ |
SkPdfNativeObject* fObj; |
// TODO(edisonn): perf ... probably it does not make sense to cache the ref. test it! |
SkPdfNativeObject* fResolvedReference; |
+ bool fIsReferenceResolved; |
}; |
public: |
@@ -91,6 +92,7 @@ |
obj->fObj = NULL; |
obj->fResolvedReference = NULL; |
obj->fOffset = -1; |
+ obj->fIsReferenceResolved = false; |
} |
SkPdfNativeObject* readObject(int id/*, int generation*/); |