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

Issue 336313003: mojo: Don't leak handles when assigning to ScopedHandles. (Closed)

Created:
6 years, 6 months ago by Elliot Glaysher
Modified:
6 years, 6 months ago
Reviewers:
viettrungluu
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Project:
chromium
Visibility:
Public.

Description

mojo: Don't leak handles when assigning to ScopedHandles. BUG=374520 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278015

Patch Set 1 #

Total comments: 2

Patch Set 2 : vtl suggestion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M mojo/public/cpp/system/core.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M mojo/public/cpp/system/tests/core_unittest.cc View 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Elliot Glaysher
6 years, 6 months ago (2014-06-17 21:40:43 UTC) #1
viettrungluu
https://codereview.chromium.org/336313003/diff/1/mojo/public/cpp/system/core.h File mojo/public/cpp/system/core.h (right): https://codereview.chromium.org/336313003/diff/1/mojo/public/cpp/system/core.h#newcode110 mojo/public/cpp/system/core.h:110: if (handle_.is_valid() && handle_.value() != other.object->get().value()) Since a handle ...
6 years, 6 months ago (2014-06-17 22:58:25 UTC) #2
Elliot Glaysher
https://codereview.chromium.org/336313003/diff/1/mojo/public/cpp/system/core.h File mojo/public/cpp/system/core.h (right): https://codereview.chromium.org/336313003/diff/1/mojo/public/cpp/system/core.h#newcode110 mojo/public/cpp/system/core.h:110: if (handle_.is_valid() && handle_.value() != other.object->get().value()) On 2014/06/17 22:58:25, ...
6 years, 6 months ago (2014-06-17 23:08:28 UTC) #3
viettrungluu
On 2014/06/17 23:08:28, Elliot Glaysher wrote: > https://codereview.chromium.org/336313003/diff/1/mojo/public/cpp/system/core.h > File mojo/public/cpp/system/core.h (right): > > https://codereview.chromium.org/336313003/diff/1/mojo/public/cpp/system/core.h#newcode110 ...
6 years, 6 months ago (2014-06-17 23:34:42 UTC) #4
Elliot Glaysher
The CQ bit was checked by erg@chromium.org
6 years, 6 months ago (2014-06-17 23:39:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/erg@chromium.org/336313003/20001
6 years, 6 months ago (2014-06-17 23:43:08 UTC) #6
commit-bot: I haz the power
6 years, 6 months ago (2014-06-18 10:23:24 UTC) #7
Message was sent while issue was closed.
Change committed as 278015

Powered by Google App Engine
This is Rietveld 408576698