| Index: third_party/WebKit/Source/core/style/DataPersistent.h
|
| diff --git a/third_party/WebKit/Source/core/style/DataPersistent.h b/third_party/WebKit/Source/core/style/DataPersistent.h
|
| index 78ade62015c02ca7b7f23bbf9f493e8ca6fa36b0..1b1167b3a4513d9509fbb0892b8c52240be21582 100644
|
| --- a/third_party/WebKit/Source/core/style/DataPersistent.h
|
| +++ b/third_party/WebKit/Source/core/style/DataPersistent.h
|
| @@ -56,21 +56,21 @@ class DataPersistent {
|
| }
|
|
|
| void init() {
|
| - ASSERT(!m_data);
|
| + DCHECK(!m_data);
|
| m_data = WTF::wrapUnique(new Persistent<T>(T::create()));
|
| m_ownCopy = true;
|
| }
|
|
|
| bool operator==(const DataPersistent<T>& o) const {
|
| - ASSERT(m_data);
|
| - ASSERT(o.m_data);
|
| + DCHECK(m_data);
|
| + DCHECK(o.m_data);
|
| return m_data->get() == o.m_data->get() ||
|
| *m_data->get() == *o.m_data->get();
|
| }
|
|
|
| bool operator!=(const DataPersistent<T>& o) const {
|
| - ASSERT(m_data);
|
| - ASSERT(o.m_data);
|
| + DCHECK(m_data);
|
| + DCHECK(o.m_data);
|
| return m_data->get() != o.m_data->get() &&
|
| *m_data->get() != *o.m_data->get();
|
| }
|
|
|