Index: experimental/PdfViewer/pdfparser/native/SkPdfObject.h |
=================================================================== |
--- experimental/PdfViewer/pdfparser/native/SkPdfObject.h (revision 9970) |
+++ experimental/PdfViewer/pdfparser/native/SkPdfObject.h (working copy) |
@@ -86,7 +86,7 @@ |
public: |
- SkPdfObject() : fObjectType(kInvalid_PdfObjectType), fData(NULL) {} |
+ SkPdfObject() : fObjectType(kInvalid_PdfObjectType), fMap(NULL), fData(NULL) {} |
inline void* data() { |
return fData; |
@@ -96,9 +96,9 @@ |
fData = data; |
} |
- ~SkPdfObject() { |
- reset(); |
- } |
+// ~SkPdfObject() { |
+// //reset(); must be called manually! |
+// } |
void reset() { |
switch (fObjectType) { |