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

Issue 1640523002: PNaCl cleanup: Reuse base::File for closing a handle/FD (Closed)

Created:
4 years, 11 months ago by Mark Seaborn
Modified:
4 years, 11 months ago
Reviewers:
bbudge
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PNaCl cleanup: Reuse base::File for closing a handle/FD This removes a dependency on the NACL_WINDOWS macro, which is defined in non-public native_client headers. It also gets the benefit of the error-checking that base/ does for close()/CloseHandle(). BUG= https://bugs.chromium.org/p/nativeclient/issues/detail?id=2832 TEST=e.g. NaClBrowserTestPnacl.PPAPICore (tests PNaCl translation) Committed: https://crrev.com/a751ae0a7ecea5856b4e2071e66a829e835111fc Cr-Commit-Position: refs/heads/master@{#371692}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -13 lines) Patch
M components/nacl/renderer/plugin/pnacl_resources.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/nacl/renderer/plugin/utility.h View 2 chunks +0 lines, -3 lines 0 comments Download
M components/nacl/renderer/plugin/utility.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640523002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640523002/1
4 years, 11 months ago (2016-01-27 00:16:20 UTC) #2
Mark Seaborn
4 years, 11 months ago (2016-01-27 01:04:19 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-27 01:07:41 UTC) #6
bbudge
lgtm
4 years, 11 months ago (2016-01-27 01:41:35 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1640523002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1640523002/1
4 years, 11 months ago (2016-01-27 02:15:02 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-27 02:22:16 UTC) #10
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 02:23:15 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a751ae0a7ecea5856b4e2071e66a829e835111fc
Cr-Commit-Position: refs/heads/master@{#371692}

Powered by Google App Engine
This is Rietveld 408576698