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

Issue 453203002: Fixing memory leak in TimedMap (Closed)

Created:
6 years, 4 months ago by Charlie
Modified:
6 years, 4 months ago
Reviewers:
rkc
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fixing memory leak in TimedMap BUG=402118 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288950

Patch Set 1 #

Total comments: 6

Patch Set 2 : Switching to scoped_ptr #

Patch Set 3 : Re-disabling a few tests #

Patch Set 4 : Disabling broken test #

Total comments: 2

Patch Set 5 : Re-enabling RpcHandler tests #

Patch Set 6 : Disabling AudioDirectiveListTest #

Patch Set 7 : Merging to HEAD #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -72 lines) Patch
M components/copresence/handlers/audio/audio_directive_handler_unittest.cc View 1 2 3 4 5 6 1 chunk +2 lines, -4 lines 0 comments Download
M components/copresence/handlers/audio/audio_directive_list_unittest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M components/copresence/mediums/audio/audio_recorder_unittest.cc View 1 2 1 chunk +5 lines, -9 lines 0 comments Download
M components/copresence/rpc/rpc_handler_unittest.cc View 1 2 3 4 5 6 5 chunks +5 lines, -25 lines 0 comments Download
M components/copresence/timed_map.h View 1 5 chunks +8 lines, -5 lines 0 comments Download
M components/copresence/timed_map_unittest.cc View 1 7 chunks +13 lines, -25 lines 0 comments Download

Messages

Total messages: 36 (0 generated)
Charlie
6 years, 4 months ago (2014-08-09 06:35:34 UTC) #1
rkc
https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h File components/copresence/timed_map.h (right): https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h#newcode35 components/copresence/timed_map.h:35: delete clock_; No reason for this clock to not ...
6 years, 4 months ago (2014-08-09 06:41:42 UTC) #2
Charlie
https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h File components/copresence/timed_map.h (right): https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h#newcode57 components/copresence/timed_map.h:57: void set_clock_for_testing(base::TickClock* clock) { That's what I wrote first. ...
6 years, 4 months ago (2014-08-09 06:48:24 UTC) #3
rkc
https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h File components/copresence/timed_map.h (right): https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h#newcode57 components/copresence/timed_map.h:57: void set_clock_for_testing(base::TickClock* clock) { On 2014/08/09 06:48:23, Charlie wrote: ...
6 years, 4 months ago (2014-08-09 06:53:57 UTC) #4
Charlie
https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h File components/copresence/timed_map.h (right): https://codereview.chromium.org/453203002/diff/1/components/copresence/timed_map.h#newcode35 components/copresence/timed_map.h:35: delete clock_; On 2014/08/09 06:41:42, Rahul Chaturvedi wrote: > ...
6 years, 4 months ago (2014-08-09 07:10:40 UTC) #5
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-09 08:50:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckehoe@chromium.org/453203002/20001
6 years, 4 months ago (2014-08-09 08:54:07 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-09 08:54:08 UTC) #8
commit-bot: I haz the power
No LGTM from a valid reviewer yet. Only full committers are accepted. Even if an ...
6 years, 4 months ago (2014-08-09 08:54:09 UTC) #9
rkc
oh oops. LGTM.
6 years, 4 months ago (2014-08-09 08:55:01 UTC) #10
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-09 08:55:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckehoe@chromium.org/453203002/20001
6 years, 4 months ago (2014-08-09 08:56:07 UTC) #12
rkc
The CQ bit was unchecked by rkc@chromium.org
6 years, 4 months ago (2014-08-09 11:48:58 UTC) #13
rkc
On 2014/08/09 08:56:07, I haz the power (commit-bot) wrote: > CQ is trying da patch. ...
6 years, 4 months ago (2014-08-09 11:50:30 UTC) #14
chromium-reviews
On Sat, Aug 9, 2014 at 4:50 AM, <rkc@chromium.org> wrote: > On 2014/08/09 08:56:07, I ...
6 years, 4 months ago (2014-08-09 16:49:53 UTC) #15
rkc
On 2014/08/09 16:49:53, chromium-reviews wrote: > > Unchecking CQ; it doesn't look like all the ...
6 years, 4 months ago (2014-08-09 19:20:30 UTC) #16
rkc
https://codereview.chromium.org/453203002/diff/60001/components/copresence/mediums/audio/audio_recorder_unittest.cc File components/copresence/mediums/audio/audio_recorder_unittest.cc (right): https://codereview.chromium.org/453203002/diff/60001/components/copresence/mediums/audio/audio_recorder_unittest.cc#newcode192 components/copresence/mediums/audio/audio_recorder_unittest.cc:192: // TODO(rkc): These tests are broken on all platforms. ...
6 years, 4 months ago (2014-08-09 19:20:37 UTC) #17
rkc
6 years, 4 months ago (2014-08-09 19:20:38 UTC) #18
Charlie
On 2014/08/09 19:20:30, Rahul Chaturvedi wrote: > On 2014/08/09 16:49:53, chromium-reviews wrote: > > > ...
6 years, 4 months ago (2014-08-10 04:47:00 UTC) #19
Charlie
On 2014/08/09 19:20:30, Rahul Chaturvedi wrote: > On 2014/08/09 16:49:53, chromium-reviews wrote: > > > ...
6 years, 4 months ago (2014-08-11 16:10:11 UTC) #20
Charlie
https://codereview.chromium.org/453203002/diff/60001/components/copresence/mediums/audio/audio_recorder_unittest.cc File components/copresence/mediums/audio/audio_recorder_unittest.cc (right): https://codereview.chromium.org/453203002/diff/60001/components/copresence/mediums/audio/audio_recorder_unittest.cc#newcode192 components/copresence/mediums/audio/audio_recorder_unittest.cc:192: // TODO(rkc): These tests are broken on all platforms. ...
6 years, 4 months ago (2014-08-11 16:10:18 UTC) #21
Charlie
The CQ bit was checked by ckehoe@chromium.org
6 years, 4 months ago (2014-08-11 16:11:01 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckehoe@chromium.org/453203002/80001
6 years, 4 months ago (2014-08-11 16:13:21 UTC) #23
Charlie
The CQ bit was checked by ckehoe@chromium.org
6 years, 4 months ago (2014-08-11 18:59:39 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckehoe@chromium.org/453203002/100001
6 years, 4 months ago (2014-08-11 19:16:35 UTC) #25
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-11 23:28:58 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 02:47:20 UTC) #27
commit-bot: I haz the power
Failed to apply patch for components/copresence/rpc/rpc_handler_unittest.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 4 months ago (2014-08-12 02:47:21 UTC) #28
Charlie
The CQ bit was checked by ckehoe@chromium.org
6 years, 4 months ago (2014-08-12 03:00:49 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckehoe@chromium.org/453203002/120001
6 years, 4 months ago (2014-08-12 03:04:15 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-12 06:36:04 UTC) #31
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 09:15:48 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel/builds/5792)
6 years, 4 months ago (2014-08-12 09:15:49 UTC) #33
rkc
The CQ bit was checked by rkc@chromium.org
6 years, 4 months ago (2014-08-12 11:09:38 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ckehoe@chromium.org/453203002/120001
6 years, 4 months ago (2014-08-12 11:11:34 UTC) #35
commit-bot: I haz the power
6 years, 4 months ago (2014-08-12 14:21:26 UTC) #36
Message was sent while issue was closed.
Change committed as 288950

Powered by Google App Engine
This is Rietveld 408576698