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

Issue 2903593003: Fix crash bug http://crbug.com/725594 (Closed)

Created:
3 years, 7 months ago by Hzj_jie
Modified:
3 years, 7 months ago
Reviewers:
Avi (use Gerrit)
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix crash bug http://crbug.com/725594 The order of destruction of frame_tree_ and rvh_delegate_view_ is relevant. This change ensure frame_tree_ is destructed before rvh_delegate_view_. BUG=chromium:725594, chromium:725402 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2903593003 Cr-Commit-Position: refs/heads/master@{#474201} Committed: https://chromium.googlesource.com/chromium/src/+/8da026c9e77facffc5ed46cfb75c2932f09fcc12

Patch Set 1 #

Patch Set 2 : Use std::unique_ptr to control the lifetime of FrameTree obviously #

Total comments: 1

Patch Set 3 : Prefer MakeUnique to raw new operator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -18 lines) Patch
M content/browser/frame_host/interstitial_page_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 12 chunks +24 lines, -17 lines 0 comments Download

Messages

Total messages: 38 (23 generated)
Hzj_jie
3 years, 7 months ago (2017-05-23 21:06:12 UTC) #11
Avi (use Gerrit)
I wonder if this is indicative of a deeper ownership issue. I don't think I've ...
3 years, 7 months ago (2017-05-23 21:16:32 UTC) #12
Hzj_jie
On 2017/05/23 21:16:32, Avi (ping after 24h) wrote: > I wonder if this is indicative ...
3 years, 7 months ago (2017-05-23 21:24:36 UTC) #13
Avi (use Gerrit)
On 2017/05/23 21:24:36, Hzj_jie wrote: > On 2017/05/23 21:16:32, Avi (ping after 24h) wrote: > ...
3 years, 7 months ago (2017-05-23 21:26:14 UTC) #14
Hzj_jie
On 2017/05/23 21:26:14, Avi (ping after 24h) wrote: > On 2017/05/23 21:24:36, Hzj_jie wrote: > ...
3 years, 7 months ago (2017-05-23 21:38:55 UTC) #17
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/2903593003/20001
3 years, 7 months ago (2017-05-23 21:43:37 UTC) #19
Hzj_jie
On 2017/05/23 21:43:37, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 7 months ago (2017-05-23 21:55:19 UTC) #21
Hzj_jie
Avi, how about this solution?
3 years, 7 months ago (2017-05-23 22:41:54 UTC) #24
Avi (use Gerrit)
Nicer. LGTM with nit. https://codereview.chromium.org/2903593003/diff/40001/content/browser/frame_host/interstitial_page_impl.cc File content/browser/frame_host/interstitial_page_impl.cc (right): https://codereview.chromium.org/2903593003/diff/40001/content/browser/frame_host/interstitial_page_impl.cc#newcode166 content/browser/frame_host/interstitial_page_impl.cc:166: frame_tree_(new FrameTree(new InterstitialPageNavigatorImpl(this, base::MakeUnique<>
3 years, 7 months ago (2017-05-23 22:44:15 UTC) #25
Hzj_jie
On 2017/05/23 22:44:15, Avi (ping after 24h) wrote: > Nicer. LGTM with nit. > > ...
3 years, 7 months ago (2017-05-23 22:57:21 UTC) #26
Avi (use Gerrit)
On 2017/05/23 22:57:21, Hzj_jie wrote: > On 2017/05/23 22:44:15, Avi (ping after 24h) wrote: > ...
3 years, 7 months ago (2017-05-23 23:01:39 UTC) #27
Hzj_jie
On 2017/05/23 23:01:39, Avi (ping after 24h) wrote: > On 2017/05/23 22:57:21, Hzj_jie wrote: > ...
3 years, 7 months ago (2017-05-23 23:20:14 UTC) #28
Avi (use Gerrit)
lgtm Thank you.
3 years, 7 months ago (2017-05-23 23:32:15 UTC) #31
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/2903593003/60001
3 years, 7 months ago (2017-05-24 06:30:27 UTC) #35
commit-bot: I haz the power
3 years, 7 months ago (2017-05-24 07:50:12 UTC) #38
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/8da026c9e77facffc5ed46cfb75c...

Powered by Google App Engine
This is Rietveld 408576698