Remove 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 Review URL: https://codereview.chromium.org/544333002 Cr-Commit-Position: refs/heads/master@{#294119}
Showing
Please register or sign in to comment