Reorganize sandbox operator new, add a comment.
Now that NT_PAGE is gone, rewrite the function to be single-return and add
a comment pointing out that what the function is doing is incomplete.
No intended behavior change, should fix 2 clang warnings of the form
..\..\sandbox\win\src\sandbox_nt_util.cc(560,3) : warning(clang): 'operator new' should not return a null pointer unless it is declared 'throw()' or 'noexcept' [-Wnew-returns-null]
return NULL;
^
BUG=82385
R=rvargas@chromium.org
Review URL: https://codereview.chromium.org/556293002
Cr-Commit-Position: refs/heads/master@{#294246}
1 file changed