Searched defs:AdoptRef (Results 1 - 2 of 2) sorted by relevance

/external/chromium_org/skia/ext/
H A Drefptr.h17 // skia::RefPtr<SkShader> shader = skia::AdoptRef(SkGradientShader::Create());
31 // return skia::AdoptRef(SkGradientShader::Create());
41 // AdoptRef() the raw pointer immediately into a skia::RefPtr and always work
101 friend RefPtr<U> AdoptRef(U* ptr);
109 RefPtr<T> AdoptRef(T* ptr) { return RefPtr<T>(ptr); } function in namespace:skia
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DPassRefPtr.h94 enum AdoptRefTag { AdoptRef }; enumerator in enum:WTF::PassRefPtr::AdoptRefTag
189 return PassRefPtr<T>(p, PassRefPtr<T>::AdoptRef);

Completed in 107 milliseconds