Index: experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h |
=================================================================== |
--- experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (revision 9970) |
+++ experimental/PdfViewer/pdfparser/native/SkNativeParsedPDF.h (working copy) |
@@ -42,11 +42,11 @@ |
int pages() const; |
SkPdfResourceDictionary* pageResources(int page); |
- SkRect MediaBox(int page) const; |
- SkPdfNativeTokenizer* tokenizerOfPage(int n) const; |
+ SkRect MediaBox(int page); |
+ SkPdfNativeTokenizer* tokenizerOfPage(int n); |
- SkPdfNativeTokenizer* tokenizerOfStream(SkPdfObject* stream) const; |
- SkPdfNativeTokenizer* tokenizerOfBuffer(unsigned char* buffer, size_t len) const; |
+ SkPdfNativeTokenizer* tokenizerOfStream(SkPdfObject* stream); |
+ SkPdfNativeTokenizer* tokenizerOfBuffer(unsigned char* buffer, size_t len); |
size_t objects() const; |
SkPdfObject* object(int i); |
@@ -61,8 +61,7 @@ |
void drawPage(int page, SkCanvas* canvas); |
- SkPdfObject* resolveReference(SkPdfObject* ref) const; |
- SkPdfObject* resolveReference(const SkPdfObject* ref) const; |
+ SkPdfObject* resolveReference(const SkPdfObject* ref); |
private: |
@@ -77,7 +76,7 @@ |
obj->fOffset = -1; |
} |
- SkPdfObject* readObject(int id/*, int generation*/) const; |
+ SkPdfObject* readObject(int id/*, int generation*/); |
void fillPages(SkPdfPageTreeNodeDictionary* tree); |