Chromium Code Reviews| Index: crypto/scoped_nss_types.h |
| diff --git a/crypto/scoped_nss_types.h b/crypto/scoped_nss_types.h |
| index fdfb83c154f8c47996633031c9dcc45abb285e36..8e96e8d4e20ffedb34a529e62ec7e92451bd8c5d 100644 |
| --- a/crypto/scoped_nss_types.h |
| +++ b/crypto/scoped_nss_types.h |
| @@ -16,7 +16,6 @@ namespace crypto { |
| template <typename Type, void (*Destroyer)(Type*)> |
| struct NSSDestroyer { |
| - typedef void AllowSelfReset; |
|
danakj
2015/11/17 19:09:27
Can you maybe replace each of these AllowSelfReset
dcheng
2015/11/17 20:21:03
Hmm... that's not really immediately obvious that
davidben
2015/11/17 21:01:45
Part of this change is to remove the self-reset ch
|
| void operator()(Type* ptr) const { |
| Destroyer(ptr); |
| } |
| @@ -24,7 +23,6 @@ struct NSSDestroyer { |
| template <typename Type, void (*Destroyer)(Type*, PRBool), PRBool freeit> |
| struct NSSDestroyer1 { |
| - typedef void AllowSelfReset; |
| void operator()(Type* ptr) const { |
| Destroyer(ptr, freeit); |
| } |