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

Issue 766173003: Make RenderMessageCompletionCallback delete unsent Message (Closed)

Created:
6 years ago by dmichael (off chromium)
Modified:
6 years ago
Reviewers:
jam
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Make RenderMessageCompletionCallback delete unsent Message Prior to this CL, if SendReplyAndDeleteThis is never called, the IPC::Message gets leaked. BUG=370588 R=jam@chromium.org Committed: https://crrev.com/215d44f2ff830604efa30652f8940502283f7ec4 Cr-Commit-Position: refs/heads/master@{#308486}

Patch Set 1 #

Patch Set 2 : Send error reply if message is unsent #

Total comments: 1

Patch Set 3 : Review comment #

Patch Set 4 : Reset filter_ #

Patch Set 5 : gah, clear reply_msg_ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
dmichael (off chromium)
6 years ago (2014-12-01 18:26:15 UTC) #1
jam
if this condition happens, isn't the renderer hung? that seems much worse than a leak.
6 years ago (2014-12-03 00:01:26 UTC) #2
dmichael (off chromium)
I agree in general. There are more details in the bug. In this case, I ...
6 years ago (2014-12-03 15:59:42 UTC) #3
jam
On 2014/12/03 15:59:42, dmichael wrote: > I agree in general. There are more details in ...
6 years ago (2014-12-05 01:20:21 UTC) #4
dmichael (off chromium)
Comment addressed.
6 years ago (2014-12-09 18:41:01 UTC) #5
jam
lgtm, sorry for delay just saw the update https://codereview.chromium.org/766173003/diff/20001/content/browser/renderer_host/render_message_filter.cc File content/browser/renderer_host/render_message_filter.cc (right): https://codereview.chromium.org/766173003/diff/20001/content/browser/renderer_host/render_message_filter.cc#newcode152 content/browser/renderer_host/render_message_filter.cc:152: scoped_ptr<IPC::Message> ...
6 years ago (2014-12-15 19:15:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766173003/60001
6 years ago (2014-12-15 21:46:21 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/14990)
6 years ago (2014-12-15 23:15:40 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766173003/80001
6 years ago (2014-12-15 23:48:08 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
6 years ago (2014-12-16 01:01:28 UTC) #13
commit-bot: I haz the power
6 years ago (2014-12-16 01:02:08 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/215d44f2ff830604efa30652f8940502283f7ec4
Cr-Commit-Position: refs/heads/master@{#308486}

Powered by Google App Engine
This is Rietveld 408576698