diff options
author | Nico Weber <thakis@chromium.org> | 2014-09-10 15:27:01 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2014-09-10 22:45:02 +0000 |
commit | a1cfce8ecf31c486bbb1307ebfb44a2a0c15d2cb (patch) | |
tree | 0bad3289a0b55175fa8908e13230e1860063f14f /build/config/BUILD.gn | |
parent | 819adcc808b640641983cbdcf0234f769aaf9ff1 (diff) | |
download | chromium_src-a1cfce8ecf31c486bbb1307ebfb44a2a0c15d2cb.zip chromium_src-a1cfce8ecf31c486bbb1307ebfb44a2a0c15d2cb.tar.gz chromium_src-a1cfce8ecf31c486bbb1307ebfb44a2a0c15d2cb.tar.bz2 |
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}
Diffstat (limited to 'build/config/BUILD.gn')
0 files changed, 0 insertions, 0 deletions