Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(522)

Issue 556293002: Reorganize sandbox operator new, add a comment. (Closed)

Created:
6 years, 3 months ago by Nico
Modified:
6 years, 3 months ago
CC:
chromium-reviews, wfh+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

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 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 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M sandbox/win/src/sandbox_nt_util.cc View 1 2 3 1 chunk +14 lines, -8 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Nico
6 years, 3 months ago (2014-09-10 14:48:39 UTC) #2
rvargas (doing something else)
lgtm https://codereview.chromium.org/556293002/diff/40001/sandbox/win/src/sandbox_nt_util.cc File sandbox/win/src/sandbox_nt_util.cc (right): https://codereview.chromium.org/556293002/diff/40001/sandbox/win/src/sandbox_nt_util.cc#newcode557 sandbox/win/src/sandbox_nt_util.cc:557: NOTREACHED_NT(); This is a change in behavior for ...
6 years, 3 months ago (2014-09-10 22:22:59 UTC) #3
Nico
https://codereview.chromium.org/556293002/diff/40001/sandbox/win/src/sandbox_nt_util.cc File sandbox/win/src/sandbox_nt_util.cc (right): https://codereview.chromium.org/556293002/diff/40001/sandbox/win/src/sandbox_nt_util.cc#newcode557 sandbox/win/src/sandbox_nt_util.cc:557: NOTREACHED_NT(); On 2014/09/10 22:22:58, rvargas wrote: > This is ...
6 years, 3 months ago (2014-09-10 22:24:28 UTC) #4
Nico
Committed patchset #4 (id:60001) to pending queue manually as 9bd5561 (presubmit successful).
6 years, 3 months ago (2014-09-10 22:43:20 UTC) #5
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 22:49:12 UTC) #6
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a1cfce8ecf31c486bbb1307ebfb44a2a0c15d2cb
Cr-Commit-Position: refs/heads/master@{#294246}

Powered by Google App Engine
This is Rietveld 408576698