Chromium Code Reviews
DescriptionRemove 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 #
Messages
Total messages: 13 (7 generated)
|
||||||||||||||||||||||||||||