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

Issue 180993003: Revert "Revert 249676 "Have the unload event execute in background on cr..."" (Closed)

Created:
6 years, 10 months ago by clamy
Modified:
6 years, 9 months ago
Reviewers:
Charlie Reis, jam
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Revert "Revert 249676 "Have the unload event execute in background on cr..."" This fixes a bug in the original CL which may have caused a crash in ProfileDestroyer. BUG=343002, 323528, 342361 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254007

Patch Set 1 #

Patch Set 2 : Clear RFH pending shutdown in the destructor of WebContentsImpl #

Patch Set 3 : Fixed an error in the swap out logic #

Total comments: 6

Patch Set 4 : Delete RFH pending shutdown in all nodes of the FrameTree #

Unified diffs Side-by-side diffs Delta from patch set Stats (+648 lines, -201 lines) Patch
M chrome/browser/renderer_host/web_cache_manager_browsertest.cc View 1 chunk +7 lines, -4 lines 0 comments Download
M content/browser/frame_host/frame_tree.h View 2 chunks +14 lines, -6 lines 0 comments Download
M content/browser/frame_host/frame_tree.cc View 4 chunks +51 lines, -18 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 2 chunks +5 lines, -1 line 0 comments Download
M content/browser/frame_host/render_frame_host_manager.h View 1 2 3 5 chunks +17 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 10 chunks +70 lines, -13 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 13 chunks +243 lines, -21 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.h View 3 chunks +2 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 10 chunks +85 lines, -24 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 26 chunks +108 lines, -80 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 3 chunks +7 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 5 chunks +9 lines, -4 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 4 chunks +4 lines, -2 lines 0 comments Download
M content/public/browser/render_process_host.h View 2 chunks +5 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/public/test/mock_render_process_host.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M content/public/test/test_renderer_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/test/test_render_view_host.h View 1 chunk +2 lines, -8 lines 0 comments Download
M content/test/test_web_contents.cc View 1 chunk +3 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
clamy
@creis, jam: PTAL. The reland now deletes all RFH pending shutdown in the destructor of ...
6 years, 10 months ago (2014-02-26 14:11:49 UTC) #1
jam
lgtm
6 years, 10 months ago (2014-02-26 17:46:21 UTC) #2
Charlie Reis
Great. I assume patch set 1 is the original CL. The diff to patch set ...
6 years, 10 months ago (2014-02-26 17:54:29 UTC) #3
Charlie Reis
Also, glad to see you started this patch with a revert of my revert, rather ...
6 years, 10 months ago (2014-02-26 17:59:18 UTC) #4
jam
https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc#newcode332 content/browser/web_contents/web_contents_impl.cc:332: GetRenderManager()->ClearAllPendingShutdownRFH(); On 2014/02/26 17:54:30, Charlie Reis wrote: > If ...
6 years, 10 months ago (2014-02-26 22:48:46 UTC) #5
Charlie Reis
https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc#newcode332 content/browser/web_contents/web_contents_impl.cc:332: GetRenderManager()->ClearAllPendingShutdownRFH(); On 2014/02/26 22:48:47, jam wrote: > On 2014/02/26 ...
6 years, 10 months ago (2014-02-26 23:30:30 UTC) #6
clamy
Thanks for your reviews! PTAL at the new patchset, this should take care of all ...
6 years, 9 months ago (2014-02-27 17:38:06 UTC) #7
Charlie Reis
Thanks. The diff from patch set 1 to patch set 4 LGTM. https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc ...
6 years, 9 months ago (2014-02-27 20:09:26 UTC) #8
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 9 months ago (2014-02-27 21:24:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/180993003/80001
6 years, 9 months ago (2014-02-27 21:25:59 UTC) #10
jam
https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://chromiumcodereview.appspot.com/180993003/diff/60001/content/browser/web_contents/web_contents_impl.cc#newcode332 content/browser/web_contents/web_contents_impl.cc:332: GetRenderManager()->ClearAllPendingShutdownRFH(); On 2014/02/27 20:09:27, Charlie Reis wrote: > On ...
6 years, 9 months ago (2014-02-27 21:33:10 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/clamy@chromium.org/180993003/80001
6 years, 9 months ago (2014-02-28 01:03:16 UTC) #12
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 01:52:28 UTC) #13
Message was sent while issue was closed.
Change committed as 254007

Powered by Google App Engine
This is Rietveld 408576698