Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(437)

Unified Diff: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp

Issue 2585673002: Replace ASSERT, ENABLE(ASSERT), and ASSERT_NOT_REACHED in wtf (Closed)
Patch Set: Fix an Asan issue with LinkedHashSetNodeBase::unlink Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
diff --git a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
index b78078e802e739a14a3305d30193508ec85f33bd..cc8adf76cb0b68c6ec41fc903d49612183437ce5 100644
--- a/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
+++ b/third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp
@@ -42,7 +42,7 @@ ArrayBufferContents::AdjustAmountOfExternalAllocatedMemoryFunction
ArrayBufferContents::s_adjustAmountOfExternalAllocatedMemoryFunction =
defaultAdjustAmountOfExternalAllocatedMemoryFunction;
-#if ENABLE(ASSERT)
+#if DCHECK_IS_ON()
ArrayBufferContents::AdjustAmountOfExternalAllocatedMemoryFunction
ArrayBufferContents::
s_lastUsedAdjustAmountOfExternalAllocatedMemoryFunction;

Powered by Google App Engine
This is Rietveld 408576698