| Index: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.h
|
| diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.h b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.h
|
| index d7c9e1f647e36c3bf78b27bd11592afb44998d9c..0a76b93d95a12851e813d4bbc74ce740dec6a759 100644
|
| --- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.h
|
| +++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.h
|
| @@ -128,7 +128,7 @@ class WTF_EXPORT ArrayBufferContents {
|
| void checkIfAdjustAmountOfExternalAllocatedMemoryIsConsistent() {
|
| DCHECK(s_adjustAmountOfExternalAllocatedMemoryFunction);
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| // Make sure that the function actually used is always the same.
|
| // Shouldn't be updated during its use.
|
| if (!s_lastUsedAdjustAmountOfExternalAllocatedMemoryFunction) {
|
| @@ -148,7 +148,7 @@ class WTF_EXPORT ArrayBufferContents {
|
| RefPtr<DataHolder> m_holder;
|
| static AdjustAmountOfExternalAllocatedMemoryFunction
|
| s_adjustAmountOfExternalAllocatedMemoryFunction;
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| static AdjustAmountOfExternalAllocatedMemoryFunction
|
| s_lastUsedAdjustAmountOfExternalAllocatedMemoryFunction;
|
| #endif
|
|
|