Chromium Code Reviews| Index: skia/config/sk_ref_cnt_ext_release.h |
| diff --git a/skia/config/sk_ref_cnt_ext_release.h b/skia/config/sk_ref_cnt_ext_release.h |
| index 7736c84cf7e1d4280a260f410a7864e7d4053d95..aec051283cb8cd9ddfee73a3a99a8e83f0768a06 100644 |
| --- a/skia/config/sk_ref_cnt_ext_release.h |
| +++ b/skia/config/sk_ref_cnt_ext_release.h |
| @@ -15,5 +15,13 @@ public: |
| void deref() const { SkRefCntBase::unref(); } |
| }; |
| +namespace WTF { |
|
bungeman-skia
2016/02/12 15:45:11
Is there a reason for adding any of this? WTF::ado
Ilya Kulshin
2016/02/12 20:47:10
I don't want to force callers to rely on a differe
|
| + inline void adopted(const SkRefCnt* object) {} |
| + inline void requireAdoption(const SkRefCnt* object) {} |
| +}; |
| + |
| +using WTF::adopted; |
|
bungeman-skia
2016/02/12 15:45:11
Are these needed? I would prefer these be removed
Ilya Kulshin
2016/02/12 20:47:10
I tried removing them, but that caused a bunch of
|
| +using WTF::requireAdoption; |
| + |
| #endif |