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

Issue 7057031: Fix flakiness resulting from deleting TabContents before the registrar (Closed)

Created:
9 years, 7 months ago by mmenke
Modified:
9 years, 7 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, cbentzel+watch_chromium.org
Visibility:
Public.

Description

Fix flakiness resulting from deleting TabContents before the registrar. Only seems to have shown up on two download tests, curiously. BUG=81985 TEST=PrerenderBrowserTests.* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=86301

Patch Set 1 #

Patch Set 2 : '' #

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

Messages

Total messages: 11 (0 generated)
mmenke
Mind taking a quick look at this? The problem is that the TabContentsObserver::Registrar must be ...
9 years, 7 months ago (2011-05-21 00:10:52 UTC) #1
mmenke
Err...That "NotificationObservers" should be "NotificationRegistrars"
9 years, 7 months ago (2011-05-21 00:12:39 UTC) #2
dominich
LGTM Assuming it passes the trybots.
9 years, 7 months ago (2011-05-21 00:19:43 UTC) #3
mmenke
Of course. Thanks a lot. Worried that this might cause flake on the other tests ...
9 years, 7 months ago (2011-05-21 00:21:08 UTC) #4
mmenke
And turns out "SetTabContents(new_contents);" doesn't do what I thought it did... Here's an alternative fix ...
9 years, 7 months ago (2011-05-21 03:03:16 UTC) #5
mmenke
Mind taking a quick look at this again? Turns out the function I thought was ...
9 years, 7 months ago (2011-05-23 16:36:22 UTC) #6
dominich
http://codereview.chromium.org/7057031/diff/2002/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): http://codereview.chromium.org/7057031/diff/2002/chrome/browser/prerender/prerender_contents.cc#newcode797 chrome/browser/prerender/prerender_contents.cc:797: tab_contents_observer_registrar_.Observe(NULL); Why are you only calling this in the ...
9 years, 7 months ago (2011-05-23 16:40:31 UTC) #7
mmenke
http://codereview.chromium.org/7057031/diff/2002/chrome/browser/prerender/prerender_contents.cc File chrome/browser/prerender/prerender_contents.cc (right): http://codereview.chromium.org/7057031/diff/2002/chrome/browser/prerender/prerender_contents.cc#newcode797 chrome/browser/prerender/prerender_contents.cc:797: tab_contents_observer_registrar_.Observe(NULL); On 2011/05/23 16:40:31, dominic wrote: > Why are ...
9 years, 7 months ago (2011-05-23 16:45:35 UTC) #8
dominich
LGTM On 2011/05/23 16:45:35, Matt Menke wrote: > http://codereview.chromium.org/7057031/diff/2002/chrome/browser/prerender/prerender_contents.cc > File chrome/browser/prerender/prerender_contents.cc (right): > > ...
9 years, 7 months ago (2011-05-23 16:52:26 UTC) #9
mmenke
Thanks. On 2011/05/23 16:52:26, dominic wrote: > LGTM > > On 2011/05/23 16:45:35, Matt Menke ...
9 years, 7 months ago (2011-05-23 16:53:23 UTC) #10
commit-bot: I haz the power
9 years, 7 months ago (2011-05-23 17:58:57 UTC) #11
Change committed as 86301

Powered by Google App Engine
This is Rietveld 408576698