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

Issue 2786443003: Revert "Destroy the old RenderWidgetHostView when swapping out a main frame." (Closed)

Created:
3 years, 8 months ago by piman
Modified:
3 years, 8 months ago
Reviewers:
lfg
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, Saman Sami
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert "Destroy the old RenderWidgetHostView when swapping out a main frame." It makes the assumption that a RenderWidget can talk to different RenderWidgetHostView over its lifetime, but this assumption cannot be satisfied by the code, and so this causes immediate problems (renderer hangs, tests failures and flakiness) as well as fundamental consistency problems making further changes to the code intractable. Note: this is a manual revert because of conflicts Original description: > Destroy the old RenderWidgetHostView when swapping out a main frame. > > This fixes an issue where the old RenderView is reused by a new remote > subframe. We shouldn't be leaking resources, because now we are already > hiding the unused RenderView in the renderer, when the local main frame > gets detached and the WebViewFrameWidget is closed. > > BUG=638375 > CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation > > Review-Url: https://codereview.chromium.org/2496233003 > Cr-Commit-Position: refs/heads/master@{#438516} BUG=701988 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2786443003 Cr-Commit-Position: refs/heads/master@{#461459} Committed: https://chromium.googlesource.com/chromium/src/+/00cf9403c34aea924ffecd736f93e06421e10e15

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -137 lines) Patch
M content/browser/frame_host/render_frame_host_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 2 chunks +9 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 6 chunks +37 lines, -52 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 chunk +0 lines, -75 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 chunk +3 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (17 generated)
piman
3 years, 8 months ago (2017-03-30 23:12:19 UTC) #15
lfg
lgtm
3 years, 8 months ago (2017-03-31 14:28:43 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2786443003/1
3 years, 8 months ago (2017-04-03 16:05:26 UTC) #18
commit-bot: I haz the power
3 years, 8 months ago (2017-04-03 17:10:18 UTC) #21
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/00cf9403c34aea924ffecd736f93...

Powered by Google App Engine
This is Rietveld 408576698