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

Issue 2073413002: Remove RenderFrameImpl::is_detaching_, since it appears no longer needed. (Closed)

Created:
4 years, 6 months ago by Charlie Reis
Modified:
4 years, 6 months ago
Reviewers:
alexmos
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, site-isolation-reviews_chromium.org, nasko
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove RenderFrameImpl::is_detaching_, since it appears no longer needed. ajwong@ added this in r219965 when making RFHs routable, without an explanation at the time. https://codereview.chromium.org/22876014/diff/76001/content/renderer/render_frame_impl.cc ajwong@ later added a comment in r234992 about how it was necessary to prevent observers from sending IPC messages after detach: https://codereview.chromium.org/67313010/diff/160001/content/renderer/render_frame_impl.cc nasko@ preserved this comment in r244023 when switching us over to always have subframe RFHs: https://codereview.chromium.org/117603002/diff/960001/content/renderer/render_frame_impl.cc However, gcasto removed the observer behavior in r320838. Since that CL, observers have been able to send IPCs during detach and (apparently) almost nothing is disabled by is_detaching_: https://codereview.chromium.org/1014703003/diff/20001/content/renderer/render_frame_impl.cc As a result, this appears to be mostly dead code at this point, for over a year. Since I'd like to add more IPCs after detach, I'm removing this restriction. BUG=609963 TEST=Existing tests still pass. Committed: https://crrev.com/8aa4ed83d329e038980afa0fd10d880415b853a9 Cr-Commit-Position: refs/heads/master@{#400829}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -13 lines) Patch
M content/renderer/render_frame_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 4 chunks +0 lines, -11 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Charlie Reis
Alex, can you take a look to see if this seems sane? As best I ...
4 years, 6 months ago (2016-06-20 17:00:39 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073413002/1
4 years, 6 months ago (2016-06-20 22:14:50 UTC) #5
alexmos
On 2016/06/20 17:00:39, Charlie Reis wrote: > Alex, can you take a look to see ...
4 years, 6 months ago (2016-06-20 23:05:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2073413002/1
4 years, 6 months ago (2016-06-20 23:09:52 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 6 months ago (2016-06-20 23:24:20 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-06-20 23:26:37 UTC) #13
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/8aa4ed83d329e038980afa0fd10d880415b853a9
Cr-Commit-Position: refs/heads/master@{#400829}

Powered by Google App Engine
This is Rietveld 408576698