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

Issue 625633002: Fix incorrect FD handling for StatsTable shared memory (Closed)

Created:
6 years, 2 months ago by Hajime Morrita
Modified:
6 years, 2 months ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix incorrect FD handling for StatsTable shared memory This is a regression. The CL crrev.com/585203002 did incorrectly handle a StatsTable FD as its ownership was passed. The ownership should be retained by StatsTable instead. BUG=419655 R=jam@chromium.org, creis@chromium.org Committed: https://crrev.com/7fd88cdabc845b15b9723374a52067967d38f9e1 Cr-Commit-Position: refs/heads/master@{#297936}

Patch Set 1 #

Patch Set 2 : Added a test #

Total comments: 4

Patch Set 3 : Landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -3 lines) Patch
M content/browser/child_process_launcher.cc View 1 chunk +2 lines, -3 lines 0 comments Download
A content/browser/child_process_launcher_browsertest.cc View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Hajime Morrita
6 years, 2 months ago (2014-10-02 18:12:39 UTC) #1
Charlie Reis
Can you add a test for this, since it was a regression?
6 years, 2 months ago (2014-10-02 18:20:54 UTC) #2
Hajime Morrita
Thanks for the review Charlie! PTAL the updated CL? On 2014/10/02 18:20:54, Charlie Reis wrote: ...
6 years, 2 months ago (2014-10-02 20:08:47 UTC) #3
Charlie Reis
Thanks! Glad we'll have some coverage for that flag. LGTM with nits. https://codereview.chromium.org/625633002/diff/20001/content/browser/child_process_launcher_browsertest.cc File content/browser/child_process_launcher_browsertest.cc ...
6 years, 2 months ago (2014-10-02 21:27:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/625633002/40001
6 years, 2 months ago (2014-10-02 21:50:38 UTC) #6
Hajime Morrita
Thanks for the review! Landing. https://codereview.chromium.org/625633002/diff/20001/content/browser/child_process_launcher_browsertest.cc File content/browser/child_process_launcher_browsertest.cc (right): https://codereview.chromium.org/625633002/diff/20001/content/browser/child_process_launcher_browsertest.cc#newcode1 content/browser/child_process_launcher_browsertest.cc:1: // Copyright (c) 2012 ...
6 years, 2 months ago (2014-10-02 21:51:44 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 2f49f7310fced31ec6de97a55df797461fee61ad
6 years, 2 months ago (2014-10-02 22:49:05 UTC) #8
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 22:50:56 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7fd88cdabc845b15b9723374a52067967d38f9e1
Cr-Commit-Position: refs/heads/master@{#297936}

Powered by Google App Engine
This is Rietveld 408576698