| Index: third_party/WebKit/Source/wtf/ThreadSpecific.h
|
| diff --git a/third_party/WebKit/Source/wtf/ThreadSpecific.h b/third_party/WebKit/Source/wtf/ThreadSpecific.h
|
| index e6218acffd56eb5d272a257b292c054cb2e9330c..82f2144132138057f3ca924f9c1d4a1ae370fb75 100644
|
| --- a/third_party/WebKit/Source/wtf/ThreadSpecific.h
|
| +++ b/third_party/WebKit/Source/wtf/ThreadSpecific.h
|
| @@ -155,7 +155,7 @@ inline T* ThreadSpecific<T>::get() {
|
|
|
| template <typename T>
|
| inline void ThreadSpecific<T>::set(T* ptr) {
|
| - ASSERT(!get());
|
| + DCHECK(!get());
|
| pthread_setspecific(m_key, new Data(ptr, this));
|
| }
|
|
|
| @@ -212,7 +212,7 @@ inline T* ThreadSpecific<T>::get() {
|
|
|
| template <typename T>
|
| inline void ThreadSpecific<T>::set(T* ptr) {
|
| - ASSERT(!get());
|
| + DCHECK(!get());
|
| Data* data = new Data(ptr, this);
|
| data->destructor = &ThreadSpecific<T>::destroy;
|
| TlsSetValue(tlsKeys()[m_index], data);
|
|
|