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

Issue 67313010: Fix frame detach message and lifetime issues for the mainframe RenderFrameImpl. (Closed)

Created:
7 years, 1 month ago by awong
Modified:
7 years, 1 month ago
Reviewers:
Charlie Reis
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Fix frame detach message and lifetime issues for the mainframe RenderFrameImpl. Previously, when RenderFrameImpl::frameDetach() was called on the mainframe, it would delete the RenderFrameImpl. The mainframe RFI is stored by RenderViewImpl in a scoped_ptr causing a double delete. This was not caught in testing because fast-path shutdown side-steps properly destroying the mainframe. BUG=245126 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=234992

Patch Set 1 #

Patch Set 2 : Clean up comments and lifetimes. #

Patch Set 3 : make RVH still own mainframe #

Total comments: 1

Patch Set 4 : add impl comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -17 lines) Patch
M content/common/swapped_out_messages.cc View 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 3 chunks +30 lines, -17 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
awong
7 years, 1 month ago (2013-11-13 21:07:31 UTC) #1
Charlie Reis
Ah, this explains the trouble I was having in my RenderFrameHostManager patch! Good catch. LGTM. ...
7 years, 1 month ago (2013-11-13 21:50:10 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ajwong@chromium.org/67313010/160001
7 years, 1 month ago (2013-11-13 21:57:38 UTC) #3
commit-bot: I haz the power
7 years, 1 month ago (2013-11-14 00:56:46 UTC) #4
Message was sent while issue was closed.
Change committed as 234992

Powered by Google App Engine
This is Rietveld 408576698