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

Issue 10391134: Fix memory leak in PrerenderDispatcher. (Closed)

Created:
8 years, 7 months ago by gavinp
Modified:
8 years, 7 months ago
Reviewers:
dominich, cbentzel, jam
CC:
chromium-reviews, pam+watch_chromium.org, timurrrr+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, glider+watch_chromium.org, bruening+watch_chromium.org
Visibility:
Public.

Description

Fix memory leak in PrerenderDispatcher. Make the PrerenderingInterface into a scoped pointer. BUG=127953 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=138494

Patch Set 1 #

Total comments: 3

Patch Set 2 : make chrome_content_renderer_client own the prerendering_support implementation #

Total comments: 2

Patch Set 3 : back to patch set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -11 lines) Patch
M chrome/renderer/prerender/prerender_dispatcher.h View 2 2 chunks +10 lines, -1 line 0 comments Download
M chrome/renderer/prerender/prerender_dispatcher.cc View 2 1 chunk +5 lines, -2 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
gavinp
I wonder if we should rename the PrerenderDispatcher, or add a second observer?
8 years, 7 months ago (2012-05-15 08:34:03 UTC) #1
dominich
http://codereview.chromium.org/10391134/diff/1/chrome/renderer/prerender/prerender_dispatcher.cc File chrome/renderer/prerender/prerender_dispatcher.cc (right): http://codereview.chromium.org/10391134/diff/1/chrome/renderer/prerender/prerender_dispatcher.cc#newcode17 chrome/renderer/prerender/prerender_dispatcher.cc:17: WebKit::WebPrerenderingSupport::initialize(prerendering_support_.get()); this seems like an arbitrary place to put ...
8 years, 7 months ago (2012-05-15 16:06:25 UTC) #2
gavinp
+jam, to review changes to chrome_content_renderer_client. Dominic, You're right; the PrerenderDispatcher was always an arbitrary ...
8 years, 7 months ago (2012-05-18 05:46:25 UTC) #3
dominich
I'll write up a bug about Dispatcher vs Tracker with some suggestions. This CL is ...
8 years, 7 months ago (2012-05-18 14:48:09 UTC) #4
jam
http://codereview.chromium.org/10391134/diff/1/chrome/renderer/prerender/prerender_dispatcher.cc File chrome/renderer/prerender/prerender_dispatcher.cc (right): http://codereview.chromium.org/10391134/diff/1/chrome/renderer/prerender/prerender_dispatcher.cc#newcode17 chrome/renderer/prerender/prerender_dispatcher.cc:17: WebKit::WebPrerenderingSupport::initialize(prerendering_support_.get()); On 2012/05/18 05:46:25, gavinp wrote: > On 2012/05/15 ...
8 years, 7 months ago (2012-05-18 16:38:15 UTC) #5
dominich
On 2012/05/18 16:38:15, John Abd-El-Malek wrote: > http://codereview.chromium.org/10391134/diff/1/chrome/renderer/prerender/prerender_dispatcher.cc > File chrome/renderer/prerender/prerender_dispatcher.cc (right): > > http://codereview.chromium.org/10391134/diff/1/chrome/renderer/prerender/prerender_dispatcher.cc#newcode17 ...
8 years, 7 months ago (2012-05-18 17:01:09 UTC) #6
jam
On 2012/05/18 17:01:09, dominich wrote: > On 2012/05/18 16:38:15, John Abd-El-Malek wrote: > > > ...
8 years, 7 months ago (2012-05-18 23:12:04 UTC) #7
jam
just to be clear, my lgtm is for patchset 1 and not patchset 2
8 years, 7 months ago (2012-05-18 23:12:25 UTC) #8
dominich
On Fri, May 18, 2012 at 4:12 PM, <jam@chromium.org> wrote: > On 2012/05/18 17:01:09, dominich ...
8 years, 7 months ago (2012-05-18 23:31:12 UTC) #9
jam
On 2012/05/18 23:31:12, dominich wrote: > On Fri, May 18, 2012 at 4:12 PM, <mailto:jam@chromium.org> ...
8 years, 7 months ago (2012-05-21 15:56:12 UTC) #10
dominich
On 2012/05/21 15:56:12, John Abd-El-Malek wrote: > On 2012/05/18 23:31:12, dominich wrote: > > On ...
8 years, 7 months ago (2012-05-21 16:27:05 UTC) #11
jam
On 2012/05/21 16:27:05, dominich wrote: > On 2012/05/21 15:56:12, John Abd-El-Malek wrote: > > On ...
8 years, 7 months ago (2012-05-21 17:37:22 UTC) #12
jam
On 2012/05/21 17:37:22, John Abd-El-Malek wrote: > On 2012/05/21 16:27:05, dominich wrote: > > On ...
8 years, 7 months ago (2012-05-21 17:49:16 UTC) #13
dominich
On 2012/05/21 17:37:22, John Abd-El-Malek wrote: > On 2012/05/21 16:27:05, dominich wrote: > > On ...
8 years, 7 months ago (2012-05-21 17:53:15 UTC) #14
dominich
Patch 1 LGTM
8 years, 7 months ago (2012-05-21 17:59:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/10391134/1002
8 years, 7 months ago (2012-05-22 16:02:26 UTC) #16
commit-bot: I haz the power
Try job failure for 10391134-1002 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-22 17:36:29 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/10391134/1002
8 years, 7 months ago (2012-05-22 18:20:47 UTC) #18
commit-bot: I haz the power
Try job failure for 10391134-1002 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 7 months ago (2012-05-22 20:01:00 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gavinp@chromium.org/10391134/1002
8 years, 7 months ago (2012-05-23 14:32:53 UTC) #20
commit-bot: I haz the power
8 years, 7 months ago (2012-05-23 16:26:01 UTC) #21
Change committed as 138494

Powered by Google App Engine
This is Rietveld 408576698