Index: crypto/scoped_nss_types.h |
diff --git a/crypto/scoped_nss_types.h b/crypto/scoped_nss_types.h |
index 8e96e8d4e20ffedb34a529e62ec7e92451bd8c5d..fdfb83c154f8c47996633031c9dcc45abb285e36 100644 |
--- a/crypto/scoped_nss_types.h |
+++ b/crypto/scoped_nss_types.h |
@@ -16,6 +16,7 @@ namespace crypto { |
template <typename Type, void (*Destroyer)(Type*)> |
struct NSSDestroyer { |
+ typedef void AllowSelfReset; |
void operator()(Type* ptr) const { |
Destroyer(ptr); |
} |
@@ -23,6 +24,7 @@ struct NSSDestroyer { |
template <typename Type, void (*Destroyer)(Type*, PRBool), PRBool freeit> |
struct NSSDestroyer1 { |
+ typedef void AllowSelfReset; |
void operator()(Type* ptr) const { |
Destroyer(ptr, freeit); |
} |