Chromium Code Reviews| Index: third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| diff --git a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| index ffb23221c04ba02f0594a9d9f46a29f23e8894d9..0aeab30bb9616747b0aa68b41b8d4e9b8857c904 100644 |
| --- a/third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| +++ b/third_party/WebKit/Source/platform/heap/PersistentNode.cpp |
| @@ -34,7 +34,9 @@ int PersistentRegion::numberOfPersistents() { |
| ++persistentCount; |
| } |
| } |
| - ASSERT(persistentCount == m_persistentCount); |
| +#if DCHECK_IS_ON() |
| + DCHECK(persistentCount == m_persistentCount); |
|
Yuta Kitamura
2016/11/21 09:26:12
Use DCHECK_EQ.
Alexander Alekseev
2016/11/23 09:20:30
Done.
|
| +#endif |
| return persistentCount; |
| } |