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

Unified Diff: third_party/WebKit/Source/platform/heap/HeapAllocator.h

Issue 2819123002: Replace ASSERT_NOT_REACHED, and RELEASE_ASSERT in platform/heap (Closed)
Patch Set: fix build error Created 3 years, 8 months 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/platform/heap/HeapAllocator.h
diff --git a/third_party/WebKit/Source/platform/heap/HeapAllocator.h b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
index e6ff3d9c42a51cfc28b9d91b25bf3a56a80bd46f..1402dcd075e55f0578befe4b5bf017eb83e7e2b7 100644
--- a/third_party/WebKit/Source/platform/heap/HeapAllocator.h
+++ b/third_party/WebKit/Source/platform/heap/HeapAllocator.h
@@ -141,11 +141,11 @@ class PLATFORM_EXPORT HeapAllocator {
template <typename T>
static void* NewArray(size_t bytes) {
- ASSERT_NOT_REACHED();
+ NOTREACHED();
return 0;
}
- static void DeleteArray(void* ptr) { ASSERT_NOT_REACHED(); }
+ static void DeleteArray(void* ptr) { NOTREACHED(); }
static bool IsAllocationAllowed() {
return ThreadState::Current()->IsAllocationAllowed() &&

Powered by Google App Engine
This is Rietveld 408576698