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

Issue 2773853002: In memory_details, change HasConnection() to IsReady() (Closed)

Created:
3 years, 9 months ago by ncarter (slow)
Modified:
3 years, 9 months ago
Reviewers:
Charlie Reis, Nico
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

HasConnection -> IsReady The problem was that calling getProcId on a null process handle is an error. IsReady checks both the connection as well as for a valid handle. It is possible that we manage to connect to a child process before we actually get its handle back from the process launcher. BUG=704647 Review-Url: https://codereview.chromium.org/2773853002 Cr-Commit-Position: refs/heads/master@{#459526} Committed: https://chromium.googlesource.com/chromium/src/+/96fb832e2f8abff293fb34fd320e2222707f585b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M chrome/browser/memory_details.cc View 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
ncarter (slow)
3 years, 9 months ago (2017-03-23 22:21:18 UTC) #4
Charlie Reis
Thanks! LGTM.
3 years, 9 months ago (2017-03-23 22:24:56 UTC) #6
ncarter (slow)
thakis@chromium.org: Please approve
3 years, 9 months ago (2017-03-24 18:03:57 UTC) #10
Nico
i approve Is it possible to test this though?
3 years, 9 months ago (2017-03-24 18:11:08 UTC) #11
ncarter (slow)
On 2017/03/24 18:11:08, Nico wrote: > i approve > > Is it possible to test ...
3 years, 9 months ago (2017-03-24 18:26:07 UTC) #12
Nico
a'ight, lgtm
3 years, 9 months ago (2017-03-24 18:27:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2773853002/1
3 years, 9 months ago (2017-03-24 19:37:56 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-03-24 19:45:25 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/96fb832e2f8abff293fb34fd320e...

Powered by Google App Engine
This is Rietveld 408576698