Lines Matching full:unref
340 pdfShader->unref();
371 range->append(new SkPDFInt(0))->unref();
372 range->append(new SkPDFInt(1))->unref();
373 range->append(new SkPDFInt(0))->unref();
374 range->append(new SkPDFInt(1))->unref();
375 range->append(new SkPDFInt(0))->unref();
376 range->append(new SkPDFInt(1))->unref();
445 domain->unref(); // SkRefPtr and new both took a reference.
447 domain->append(new SkPDFScalar(bbox.fLeft))->unref();
448 domain->append(new SkPDFScalar(bbox.fRight))->unref();
449 unref();
450 domain->append(new SkPDFScalar(bbox.fBottom))->unref();
475 pdfShader->unref(); // SkRefPtr and new both took a reference.
476 pdfShader->insert("ShadingType", new SkPDFInt(1))->unref();
477 pdfShader->insert("ColorSpace", new SkPDFName("DeviceRGB"))->unref();
479 pdfShader->insert("Function", new SkPDFObjRef(function.get()))->unref();
482 fContent->unref(); // SkRefPtr and new both took a reference.
483 fContent->insert("PatternType", new SkPDFInt(2))->unref();
484 fContent->insert("Matrix", SkPDFUtils::MatrixToArray(finalMatrix))->unref();
656 patternBBoxArray->unref(); // SkRefPtr and new both took a reference.
658 patternBBoxArray->append(new SkPDFScalar(patternBBox.fLeft))->unref();
659 patternBBoxArray->append(new SkPDFScalar(patternBBox.fTop))->unref();
660 patternBBoxArray->append(new SkPDFScalar(patternBBox.fRight))->unref();
661 patternBBoxArray->append(new SkPDFScalar(patternBBox.fBottom))->unref();
665 content->unref(); // SkRefPtr and content() both took a reference.
669 fContent->unref(); // SkRefPtr and new both took a reference.
670 fContent->insert("Type", new SkPDFName("Pattern"))->unref();
671 fContent->insert("PatternType", new SkPDFInt(1))->unref();
672 fContent->insert("PaintType", new SkPDFInt(1))->unref();
673 fContent->insert("TilingType", new SkPDFInt(1))->unref();
675 fContent->insert("XStep", new SkPDFScalar(patternBBox.width()))->unref();
676 fContent->insert("YStep", new SkPDFScalar(patternBBox.height()))->unref();
678 fContent->insert("Matrix", SkPDFUtils::MatrixToArray(finalMatrix))->unref();
687 funcStream->unref(); // SkRefPtr and new both took a reference.
690 result->insert("FunctionType", new SkPDFInt(4))->unref();