Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

void SkRefCnt::safeUnref (  )  const [inline, inherited]

Helper version of unref(), that first checks to see if this is not null. If this is null, then do nothing.

Definition at line 78 of file SkRefCnt.h.

References SkRefCnt::unref().

                           {
        if (this) {
            this->unref();
        }
    }


Generated by  Doxygen 1.6.0   Back to index