DescriptionRemove NT_PLACE, it's not really used.
operator new(size_t size, void* buffer, sandbox::AllocationType type) just
returns buffer, which is what the default placement new operator does too.
No intended behavior change.
(The motivation is to get rid of the two "return NULL"s in
`operator delete(void* memory, sandbox::AllocationType type)`, as they are
undefined behavior.)
BUG=none
Committed: https://crrev.com/7db050e5a7f0580b0ad7170e0e51c81ddf5079fc
Cr-Commit-Position: refs/heads/master@{#294119}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : comment #
Messages
Total messages: 14 (3 generated)
|