remove all SkRefPtr from SkPDFDevice.h
Review URL: https://codereview.appspot.com/6542049
git-svn-id: http://skia.googlecode.com/svn/trunk@5609 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/include/pdf/SkPDFDevice.h b/include/pdf/SkPDFDevice.h
index 8804987..6d86226 100644
--- a/include/pdf/SkPDFDevice.h
+++ b/include/pdf/SkPDFDevice.h
@@ -187,7 +187,7 @@
SkClipStack fExistingClipStack;
SkRegion fExistingClipRegion;
SkPDFArray* fAnnotations;
- SkRefPtr<SkPDFDict> fResourceDict;
+ SkPDFDict* fResourceDict;
SkTDArray<SkPDFGraphicState*> fGraphicStateResources;
SkTDArray<SkPDFObject*> fXObjectResources;
@@ -221,7 +221,7 @@
void init();
void cleanUp(bool clearFontUsage);
- void createFormXObjectFromDevice(SkRefPtr<SkPDFFormXObject>* xobject);
+ SkPDFFormXObject* createFormXObjectFromDevice();
// Clear the passed clip from all existing content entries.
void clearClipFromContent(const SkClipStack* clipStack,
@@ -240,7 +240,7 @@
const SkMatrix& matrix,
const SkPaint& paint,
bool hasText,
- SkRefPtr<SkPDFFormXObject>* dst);
+ SkPDFFormXObject** dst);
void finishContentEntry(SkXfermode::Mode xfermode,
SkPDFFormXObject* dst);
bool isContentEmpty();