| Index: third_party/WebKit/Source/platform/heap/SafePoint.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/SafePoint.h b/third_party/WebKit/Source/platform/heap/SafePoint.h
|
| index 727b8cfca5cceef52e7da84e496784eb18f68831..10761e7845961d5129e3f2a49c367f7c058dac77 100644
|
| --- a/third_party/WebKit/Source/platform/heap/SafePoint.h
|
| +++ b/third_party/WebKit/Source/platform/heap/SafePoint.h
|
| @@ -19,7 +19,7 @@ class SafePointScope final {
|
| ThreadState* state = ThreadState::current())
|
| : m_state(state) {
|
| if (m_state) {
|
| - RELEASE_ASSERT(!m_state->isAtSafePoint());
|
| + CHECK(!m_state->isAtSafePoint());
|
| m_state->enterSafePoint(stackState, this);
|
| }
|
| }
|
| @@ -71,7 +71,7 @@ class SafePointAwareMutexLocker final {
|
| }
|
|
|
| ~SafePointAwareMutexLocker() {
|
| - ASSERT(m_locked);
|
| + DCHECK(m_locked);
|
| m_mutex.unlock();
|
| }
|
|
|
| @@ -79,7 +79,7 @@ class SafePointAwareMutexLocker final {
|
| friend class SafePointBarrier;
|
|
|
| void reset() {
|
| - ASSERT(m_locked);
|
| + DCHECK(m_locked);
|
| m_mutex.unlock();
|
| m_locked = false;
|
| }
|
|
|