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

Issue 7108032: Fix crash when swapping in a prerendered page for a page which has an unload handler. (Closed)

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

Description

Fix crash when swapping in a prerendered page for a page which has an unload handler. *** Note: this is the fix without a browser test, for expediency. A CL with the test is in http://codereview.chromium.org/7046053/ *** The root cause PrerenderManager::OnCloseTabContentsDeleter was never unregistering itself as a TabContentsDelegate in CloseContents. r87606 exposed this by changing the TabContents destructor to deference the delegate if it's non-NULL. BUG=85350 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88478

Patch Set 1 #

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

Messages

Total messages: 5 (0 generated)
cbentzel
The browser test did flake on release builds. I want to get this fix in ...
9 years, 6 months ago (2011-06-09 01:53:23 UTC) #1
mmenke
LGTM On 2011/06/09 01:53:23, cbentzel wrote: > The browser test did flake on release builds. ...
9 years, 6 months ago (2011-06-09 01:57:15 UTC) #2
dominich
LGTM Comments on code are nittish so you don't need another LG from me. The ...
9 years, 6 months ago (2011-06-09 01:59:52 UTC) #3
cbentzel
Thanks. I agree that there's overall flakiness, although this one surprised me since the quit ...
9 years, 6 months ago (2011-06-09 02:08:54 UTC) #4
commit-bot: I haz the power
9 years, 6 months ago (2011-06-09 03:01:19 UTC) #5
Change committed as 88478

Powered by Google App Engine
This is Rietveld 408576698