Index: experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h |
=================================================================== |
--- experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (revision 9988) |
+++ experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (working copy) |
@@ -17,8 +17,6 @@ |
class SkPdfPageObjectDictionary; |
class SkPdfPageTreeNodeDictionary; |
- |
- |
class SkPdfNativeTokenizer; |
class SkNativeParsedPDF { |
@@ -63,6 +61,9 @@ |
SkPdfObject* resolveReference(const SkPdfObject* ref); |
+ // Reports an approximation of all the memory usage. |
+ size_t bytesUsed(); |
+ |
private: |
unsigned char* readCrossReferenceSection(unsigned char* xrefStart, unsigned char* trailerEnd); |