Lines Matching refs:SkRefPtr
463 SkRefPtr<SkPDFFormXObject> fDstFormXObject;
958 const SkRefPtr<SkPDFDict>& SkPDFDevice::getResourceDict() {
961 fResourceDict->unref(); // SkRefPtr and new both took a reference.
964 SkRefPtr<SkPDFDict> extGState = new SkPDFDict();
965 extGState->unref(); // SkRefPtr and new both took a reference.
977 SkRefPtr<SkPDFDict> xObjects = new SkPDFDict();
978 xObjects->unref(); // SkRefPtr and new both took a reference.
990 SkRefPtr<SkPDFDict> fonts = new SkPDFDict();
991 fonts->unref(); // SkRefPtr and new both took a reference.
1002 SkRefPtr<SkPDFDict> patterns = new SkPDFDict();
1003 patterns->unref(); // SkRefPtr and new both took a reference.
1016 SkRefPtr<SkPDFArray> procSets = new SkPDFArray();
1017 procSets->unref(); // SkRefPtr and new both took a reference.
1058 SkRefPtr<SkPDFArray> SkPDFDevice::getMediaBox() const {
1059 SkRefPtr<SkPDFInt> zero = new SkPDFInt(0);
1060 zero->unref(); // SkRefPtr and new both took a reference.
1062 SkRefPtr<SkPDFArray> mediaBox = new SkPDFArray();
1063 mediaBox->unref(); // SkRefPtr and new both took a reference.
1106 SkRefPtr<SkPDFFormXObject>* xobject) {
1108 (*xobject)->unref(); // SkRefPtr and new both took a reference.
1118 SkRefPtr<SkPDFFormXObject> curContent;
1142 SkRefPtr<SkPDFFormXObject> maskFormXObject;
1144 SkRefPtr<SkPDFGraphicState> sMaskGS =
1147 sMaskGS->unref(); // SkRefPtr and getSMaskGraphicState both took a ref.
1163 sMaskGS->unref(); // SkRefPtr and getSMaskGraphicState both took a ref.
1173 SkRefPtr<SkPDFFormXObject>* dst) {
1272 SkRefPtr<SkPDFFormXObject> srcFormXObject;
1294 SkRefPtr<SkPDFGraphicState> sMaskGS;
1306 sMaskGS->unref(); // SkRefPtr and getSMaskGraphicState both took a ref.
1314 sMaskGS->unref(); // SkRefPtr and getSMaskGraphicState both took a ref.
1345 SkRefPtr<SkPDFShader> pdfShader;
1358 SkSafeUnref(pdfShader.get()); // getShader and SkRefPtr both took a ref
1396 SkRefPtr<SkPDFGraphicState> newGraphicState;
1404 newGraphicState->unref(); // getGraphicState and SkRefPtr both took a ref.
1445 SkRefPtr<SkPDFFont> newFont = SkPDFFont::getFontResource(typeface, glyphID);
1446 newFont->unref(); // getFontResource and SkRefPtr both took a ref.