| Index: cc/scoped_ptr_hash_map.h
|
| diff --git a/cc/scoped_ptr_hash_map.h b/cc/scoped_ptr_hash_map.h
|
| index 1cea5c0ace536c39ce044fbf4bd329641be833d4..288a060fdf943c25fc9fe10534305856d41c8826 100644
|
| --- a/cc/scoped_ptr_hash_map.h
|
| +++ b/cc/scoped_ptr_hash_map.h
|
| @@ -9,6 +9,7 @@
|
| #include "base/hash_tables.h"
|
| #include "base/stl_util.h"
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "cc/dcheck.h"
|
|
|
| namespace cc {
|
|
|
| @@ -66,7 +67,7 @@ class ScopedPtrHashMap {
|
| }
|
|
|
| scoped_ptr<Value> take(iterator it) {
|
| - ASSERT(it != data_.end());
|
| + DCHECK(it != data_.end());
|
| if (it == data_.end())
|
| return scoped_ptr<Value>(NULL);
|
|
|
| @@ -86,7 +87,7 @@ class ScopedPtrHashMap {
|
| }
|
|
|
| scoped_ptr<Value> take_and_erase(iterator it) {
|
| - ASSERT(it != data_.end());
|
| + DCHECK(it != data_.end());
|
| if (it == data_.end())
|
| return scoped_ptr<Value>(NULL);
|
|
|
|
|