Searched refs:GrContextRelease (Results 1 – 2 of 2) sorted by relevance
11 struct GrContextRelease { void operator()(GrDirectContext*); }; struct12 using GrContextHolder = std::unique_ptr<GrDirectContext, GrContextRelease>;
20 void GrContextRelease::operator()(GrDirectContext* ptr) { SkSafeUnref(ptr); }24 void GrContextRelease::operator()(GrDirectContext*) { SkDEBUGFAIL(""); }