DescriptionReorganize 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
Committed: https://crrev.com/a1cfce8ecf31c486bbb1307ebfb44a2a0c15d2cb
Cr-Commit-Position: refs/heads/master@{#294246}
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : . #
Total comments: 2
Patch Set 4 : . #Messages
Total messages: 6 (1 generated)
|