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

Unified Diff: third_party/WebKit/Source/platform/heap/PageMemory.cpp

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/PageMemory.cpp
diff --git a/third_party/WebKit/Source/platform/heap/PageMemory.cpp b/third_party/WebKit/Source/platform/heap/PageMemory.cpp
index b378ba292b97780b7503fabdcd3d93eaec25e501..169be5a5bb359c9ea61b2c826f704edfeab547ff 100644
--- a/third_party/WebKit/Source/platform/heap/PageMemory.cpp
+++ b/third_party/WebKit/Source/platform/heap/PageMemory.cpp
@@ -171,7 +171,7 @@ PageMemory* PageMemory::Allocate(size_t payload_size, RegionTree* region_tree) {
PageMemoryRegion::AllocateLargePage(allocation_size, region_tree);
PageMemory* storage =
SetupPageMemoryInRegion(page_memory_region, 0, payload_size);
- RELEASE_ASSERT(storage->Commit());
+ CHECK(storage->Commit());
return storage;
}

Powered by Google App Engine
This is Rietveld 408576698