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

Issue 108483008: Make RenderFrameHostManager swap RenderFrameHosts, not RenderViewHosts. (Closed)

Created:
7 years ago by Charlie Reis
Modified:
7 years ago
Reviewers:
jam, nasko
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Make RenderFrameHostManager swap RenderFrameHosts, not RenderViewHosts. We still only have a RFHM for the main frame and not subframes, unless the --site-per-process flag is passed. To external callers, RFHM is still effectively swapping RenderViewHosts. RenderFrameHosts now indirectly keep their RenderViewHosts alive. Second attempt, after fixing memory leak from http://crrev.com/241151. R=nasko@chromium.org TBR=jam@chromium.org BUG=314791 TEST=No visible behavior change. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=241363

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix leak by removing unnecessary override #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -6 lines) Patch
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Charlie Reis
Nasko: Can you take another look? This was reverted for a leak in the unit ...
7 years ago (2013-12-17 19:39:22 UTC) #1
nasko
LGTM
7 years ago (2013-12-17 19:41:10 UTC) #2
Charlie Reis
Thanks! Since the chrome/ files haven't changed since last time, I'll mark jam@ as TBR ...
7 years ago (2013-12-17 20:54:48 UTC) #3
Charlie Reis
7 years ago (2013-12-17 21:29:34 UTC) #4
Message was sent while issue was closed.
Committed patchset #3 manually as r241363 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698