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

Issue 117603002: Always create FrameTreeNodes and RenderFrameHosts for every frame. (Closed)

Created:
7 years ago by nasko
Modified:
6 years, 11 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Always create FrameTreeNodes and RenderFrameHosts for every frame. Patch Set 1 and 2 are import of the original CL: https://codereview.chromium.org/82033002/ BUG=245126 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=244023

Patch Set 1 #

Patch Set 2 : Fixes for changes between original CL and ToT. #

Patch Set 3 : Convert to CHECK and overwrite on destruction. #

Patch Set 4 : Move memset to operator delete. #

Total comments: 4

Patch Set 5 : Try to keep some variables to help debugging. #

Patch Set 6 : Add checks for allocation and insertion. #

Total comments: 19

Patch Set 7 : Fixes based on Albert's review. #

Total comments: 1

Patch Set 8 : Remove extra logging. #

Patch Set 9 : Add check for routing id and fix for FrameTree::AddFrame #

Patch Set 10 : Rebase on ToT. #

Patch Set 11 : Port missing changes. #

Patch Set 12 : Add the main frame to the frame map. #

Patch Set 13 : Fix prerendering. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -199 lines) Patch
chrome/renderer/chrome_render_frame_observer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -1 line 0 comments Download
M content/browser/frame_host/frame_tree.cc View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -2 lines 0 comments Download
A content/browser/frame_host/frame_tree_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +170 lines, -0 lines 0 comments Download
M content/browser/site_per_process_browsertest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -144 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/public/test/mock_render_thread.h View 3 chunks +12 lines, -0 lines 0 comments Download
M content/public/test/mock_render_thread.cc View 4 chunks +13 lines, -1 line 0 comments Download
M content/public/test/render_view_test.cc View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 3 4 5 6 7 8 9 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 6 chunks +61 lines, -50 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
nasko
7 years ago (2013-12-18 00:32:30 UTC) #1
Charlie Reis
Sorry for the delay. I'd like to know a little more about how this will ...
7 years ago (2013-12-20 01:42:56 UTC) #2
awong
https://codereview.chromium.org/117603002/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/117603002/diff/80001/content/renderer/render_frame_impl.cc#newcode144 content/renderer/render_frame_impl.cc:144: memset(ptr, 0xAF, sizeof(RenderFrameImpl)); On 2013/12/20 01:42:57, creis wrote: > ...
7 years ago (2013-12-20 02:06:42 UTC) #3
nasko
Added a bunch of checks. https://codereview.chromium.org/117603002/diff/80001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/117603002/diff/80001/content/renderer/render_frame_impl.cc#newcode142 content/renderer/render_frame_impl.cc:142: // TODO(nasko): Remove this ...
6 years, 12 months ago (2013-12-27 21:49:47 UTC) #4
awong
Bunches of nits and requests for TODOs marking debugging code. https://codereview.chromium.org/117603002/diff/180001/content/public/test/render_view_test.cc File content/public/test/render_view_test.cc (right): https://codereview.chromium.org/117603002/diff/180001/content/public/test/render_view_test.cc#newcode44 ...
6 years, 12 months ago (2013-12-27 21:59:35 UTC) #5
awong
Bunches of nits and requests for TODOs marking debugging code.
6 years, 12 months ago (2013-12-27 21:59:37 UTC) #6
nasko
Fixes for most comments by Albert. John, can you review for content OWNERS? https://codereview.chromium.org/117603002/diff/180001/content/public/test/render_view_test.cc File ...
6 years, 12 months ago (2013-12-27 22:14:53 UTC) #7
jam
lgtm https://codereview.chromium.org/117603002/diff/300001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/117603002/diff/300001/content/renderer/render_frame_impl.cc#newcode621 content/renderer/render_frame_impl.cc:621: if (routing_id == MSG_ROUTING_NONE) this can't happen, so ...
6 years, 12 months ago (2013-12-27 22:24:39 UTC) #8
awong
LGTM https://codereview.chromium.org/117603002/diff/180001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/117603002/diff/180001/content/renderer/render_frame_impl.cc#newcode632 content/renderer/render_frame_impl.cc:632: CHECK(result.second) << "Inserting a duplicate item!"; On 2013/12/27 ...
6 years, 12 months ago (2013-12-27 22:25:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/117603002/480001
6 years, 12 months ago (2013-12-28 01:59:13 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=240427
6 years, 12 months ago (2013-12-28 06:52:28 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/117603002/480001
6 years, 12 months ago (2013-12-29 00:30:58 UTC) #12
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=240474
6 years, 12 months ago (2013-12-29 03:45:27 UTC) #13
nasko
jam@, awong@, can you take a look at the latest patch? I realized we aren't ...
6 years, 11 months ago (2014-01-06 23:58:58 UTC) #14
jam
lgtm
6 years, 11 months ago (2014-01-07 02:29:34 UTC) #15
nasko
Adding tburkard@ for FYI prerendering change in chrome/renderer/chrome_render_frame_observer.cc.
6 years, 11 months ago (2014-01-07 19:24:25 UTC) #16
jam
On 2014/01/07 19:24:25, nasko wrote: > Adding tburkard@ for FYI prerendering change in > chrome/renderer/chrome_render_frame_observer.cc. ...
6 years, 11 months ago (2014-01-07 19:45:16 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nasko@chromium.org/117603002/960001
6 years, 11 months ago (2014-01-09 19:39:23 UTC) #18
commit-bot: I haz the power
6 years, 11 months ago (2014-01-10 00:05:15 UTC) #19
Message was sent while issue was closed.
Change committed as 244023

Powered by Google App Engine
This is Rietveld 408576698