| Index: base/memory/scoped_ptr.h
|
| diff --git a/base/memory/scoped_ptr.h b/base/memory/scoped_ptr.h
|
| index c1fed9ae459287323f806195c09fc8ad8fdc9d5e..6059d56a296fa884543e56a926e5119ec30899cd 100644
|
| --- a/base/memory/scoped_ptr.h
|
| +++ b/base/memory/scoped_ptr.h
|
| @@ -99,6 +99,7 @@
|
| #include "base/basictypes.h"
|
| #include "base/compiler_specific.h"
|
| #include "base/move.h"
|
| +#include "base/logging.h"
|
| #include "base/template_util.h"
|
|
|
| namespace base {
|
| @@ -373,6 +374,7 @@ class scoped_ptr {
|
| return *impl_.get();
|
| }
|
| element_type* operator->() const {
|
| + CHECK(impl_.get() != NULL);
|
| assert(impl_.get() != NULL);
|
| return impl_.get();
|
| }
|
|
|