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

Issue 599253002: Fix SiteInstance ref counting issue in RenderFrameHostManager::CommitNavigation. (Closed)

Created:
6 years, 3 months ago by alexmos
Modified:
6 years, 3 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix SiteInstance ref counting issue in RenderFrameHostManager::CommitNavigation. RenderFrameHostManager::CommitNavigation was not using scoped_refptr when it created a new SiteInstance. This resulted in the new SiteInstance being deleted in FrameTree::CreateProxiesForSiteInstance after iterating through the frame tree with base::Bind due to its ref count falling to 0. This was the cause of crashes in RenderFrameHostManagerTest.BrowserSideNavigationCrossSiteNavigation and RenderFrameHostManagerTest.BrowserSideNavigationIgnoreStaleNavigationCommit under --site-per-process. These tests now pass. BUG=417518 Committed: https://crrev.com/a175a7c2191008c6a03e63c451525e1e7ef3c437 Cr-Commit-Position: refs/heads/master@{#296584}

Patch Set 1 #

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

Messages

Total messages: 7 (2 generated)
alexmos
6 years, 3 months ago (2014-09-24 23:18:58 UTC) #2
nasko
Congrats on your first CL! LGTM
6 years, 3 months ago (2014-09-24 23:21:14 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/599253002/1
6 years, 3 months ago (2014-09-24 23:59:24 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as 2077ec214bcf42b1663a866e05ce1d12d2bc251b
6 years, 3 months ago (2014-09-25 00:10:14 UTC) #6
commit-bot: I haz the power
6 years, 3 months ago (2014-09-25 00:11:12 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a175a7c2191008c6a03e63c451525e1e7ef3c437
Cr-Commit-Position: refs/heads/master@{#296584}

Powered by Google App Engine
This is Rietveld 408576698