mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Replace NOTREACHED() with DCHECK(false) (fixes #3500)
Restores the old behavior of assertion in Debug build only.
This commit is contained in:
@@ -45,12 +45,12 @@ void cef_sandbox_info_destroy(void* sandbox_info) {
|
||||
// Avoid bringing in partition_alloc dependencies.
|
||||
namespace partition_alloc {
|
||||
bool ReleaseReservation() {
|
||||
NOTREACHED();
|
||||
DCHECK(false);
|
||||
return false;
|
||||
}
|
||||
|
||||
void TerminateBecauseOutOfMemory(size_t size) {
|
||||
NOTREACHED();
|
||||
DCHECK(false);
|
||||
}
|
||||
} // namespace partition_alloc
|
||||
|
||||
|
Reference in New Issue
Block a user