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

Unified Diff: experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.h

Issue 23033022: pdfviewer: when q start, and an operator is called, it should not be able to see operands before q.… (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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/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*/);
« no previous file with comments | « experimental/PdfViewer/SkPdfRenderer.cpp ('k') | experimental/PdfViewer/pdfparser/native/SkPdfNativeDoc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698