| Index: base/memory/scoped_ptr_unittest.cc
|
| diff --git a/base/memory/scoped_ptr_unittest.cc b/base/memory/scoped_ptr_unittest.cc
|
| index 3f169a7fa2ae03dfa1a40abdc04e7911009a2c29..ca7cfbf0cf02923d5daad193efebd5772760ae03 100644
|
| --- a/base/memory/scoped_ptr_unittest.cc
|
| +++ b/base/memory/scoped_ptr_unittest.cc
|
| @@ -669,7 +669,9 @@ TEST(ScopedPtrTest, SelfResetAbortsWithCustomDeleter) {
|
| TEST(ScopedPtrTest, SelfResetWithCustomDeleterOptOut) {
|
| // A custom deleter should be able to opt out of self-reset abort behavior.
|
| struct NoOpDeleter {
|
| +#if !defined(NDEBUG)
|
| typedef void AllowSelfReset;
|
| +#endif
|
| inline void operator()(int*) {}
|
| };
|
| scoped_ptr<int> owner(new int);
|
|
|