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

Issue 2415973002: Do not hide the old RenderWidgetHostView when commiting a navigation. (Closed)

Created:
4 years, 2 months ago by lfg
Modified:
4 years, 2 months ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Do not hide the old RenderWidgetHostView when commiting a navigation. 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 Committed: https://crrev.com/7c3d7bbd510eda2bcfb971f6d166da26bcfe4222 Cr-Commit-Position: refs/heads/master@{#426913}

Patch Set 1 #

Patch Set 2 : add test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -8 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 1 1 chunk +0 lines, -8 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
lfg
Charlie, please take a look.
4 years, 2 months ago (2016-10-13 17:07:25 UTC) #5
Charlie Reis
Yeah, I could see that causing the bug. Seems like we're using the wrong criteria ...
4 years, 2 months ago (2016-10-14 18:17:46 UTC) #8
lfg
On 2016/10/14 18:17:46, Charlie Reis (Away till 10-14) wrote: > Yeah, I could see that ...
4 years, 2 months ago (2016-10-14 20:32:03 UTC) #10
lfg
On 2016/10/14 20:32:03, lfg wrote: > > Maybe somewhere else we should be telling RenderWidgetHostView ...
4 years, 2 months ago (2016-10-14 20:41:07 UTC) #11
Charlie Reis
Thanks, LGTM. Is there a way to add a IsShowing() check to a (possible existing) ...
4 years, 2 months ago (2016-10-14 20:44:11 UTC) #12
lfg
On 2016/10/14 20:44:11, Charlie Reis (OOO until 10-19) wrote: > Thanks, LGTM. > > Is ...
4 years, 2 months ago (2016-10-19 21:03:16 UTC) #13
Charlie Reis
On 2016/10/19 21:03:16, lfg wrote: > On 2016/10/14 20:44:11, Charlie Reis (OOO until 10-19) wrote: ...
4 years, 2 months ago (2016-10-21 20:06:37 UTC) #18
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/2415973002/20001
4 years, 2 months ago (2016-10-21 20:18:29 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-21 22:17:54 UTC) #22
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/7c3d7bbd510eda2bcfb971f6d166da26bcfe4222 Cr-Commit-Position: refs/heads/master@{#426913}
4 years, 2 months ago (2016-10-21 22:26:26 UTC) #24
lfg
4 years, 1 month ago (2016-10-24 15:21:42 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2448503002/ by lfg@chromium.org.

The reason for reverting is: Caused a regression on Mac.

BUG=658688.

Powered by Google App Engine
This is Rietveld 408576698