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

Issue 594483002: Oilpan: extend tracing over WebFrame trees. (Closed)

Created:
6 years, 3 months ago by sof
Modified:
6 years, 2 months ago
CC:
abarth-chromium, blink-reviews, dglazkov+blink, gavinp+loader_chromium.org, jamesr, Nate Chapin, mkwst+moarreviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Oilpan: extend tracing over WebFrame trees. Have the tracing also encompass the parent and opener. Also refreshed some unrelated LocalFrame handling comments. TBR=tkent R=haraken BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183241

Patch Set 1 #

Patch Set 2 : Weakly handle m_opener + trace OpenedFrameTracker frames #

Total comments: 5

Patch Set 3 : Add not-reached assert #

Total comments: 4

Patch Set 4 : Move WebFrame weak callback registration around #

Patch Set 5 : Improve weak callback registration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -31 lines) Patch
M Source/core/frame/LocalFrame.cpp View 1 2 3 4 1 chunk +14 lines, -5 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M Source/web/OpenedFrameTracker.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M Source/web/OpenedFrameTracker.cpp View 1 3 chunks +13 lines, -0 lines 0 comments Download
M Source/web/WebFrame.cpp View 1 2 3 4 1 chunk +37 lines, -13 lines 0 comments Download
M Source/web/WebLocalFrameImpl.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M Source/web/WebRemoteFrameImpl.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M Source/web/WebRemoteFrameImpl.cpp View 1 2 3 4 1 chunk +4 lines, -4 lines 0 comments Download
M public/web/WebFrame.h View 1 2 3 4 1 chunk +12 lines, -2 lines 0 comments Download

Messages

Total messages: 40 (5 generated)
sof
Please take a look.
6 years, 3 months ago (2014-09-22 10:03:39 UTC) #2
haraken
LGTM, thanks for a quick fix!
6 years, 3 months ago (2014-09-22 10:12:31 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594483002/1
6 years, 3 months ago (2014-09-22 12:24:05 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: blink_presubmit on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/blink_presubmit/builds/15716)
6 years, 3 months ago (2014-09-22 12:33:54 UTC) #7
sof
On 2014/09/22 12:33:54, I haz the power (commit-bot) wrote: > Try jobs failed on following ...
6 years, 3 months ago (2014-09-22 12:40:16 UTC) #8
dcheng
Hmm. Ever since I moved the frame tree from Source/core to Source/web, a WebFrame node ...
6 years, 3 months ago (2014-09-22 16:04:20 UTC) #10
sof
On 2014/09/22 16:04:20, dcheng (OOO) wrote: > Hmm. Ever since I moved the frame tree ...
6 years, 3 months ago (2014-09-22 18:38:38 UTC) #11
haraken
On 2014/09/22 18:38:38, sof wrote: > On 2014/09/22 16:04:20, dcheng (OOO) wrote: > > Hmm. ...
6 years, 3 months ago (2014-09-22 22:44:39 UTC) #12
Mads Ager (chromium)
On 2014/09/22 22:44:39, haraken wrote: > On 2014/09/22 18:38:38, sof wrote: > > On 2014/09/22 ...
6 years, 3 months ago (2014-09-23 07:04:28 UTC) #13
haraken
On 2014/09/23 07:04:28, Mads Ager (chromium) wrote: > On 2014/09/22 22:44:39, haraken wrote: > > ...
6 years, 3 months ago (2014-09-23 07:29:55 UTC) #14
dcheng
Two thoughts: - Right now, we already have OpenedFrameTracker, which clears m_opener fields that point ...
6 years, 3 months ago (2014-09-23 17:36:05 UTC) #15
sof
On 2014/09/23 17:36:05, dcheng wrote: > Two thoughts: > - Right now, we already have ...
6 years, 3 months ago (2014-09-23 17:47:20 UTC) #16
sof
On 2014/09/23 17:47:20, sof wrote: > On 2014/09/23 17:36:05, dcheng wrote: > > Two thoughts: ...
6 years, 3 months ago (2014-09-24 10:36:32 UTC) #17
haraken
On 2014/09/24 10:36:32, sof wrote: > On 2014/09/23 17:47:20, sof wrote: > > On 2014/09/23 ...
6 years, 3 months ago (2014-09-24 11:26:21 UTC) #18
sof
On 2014/09/24 11:26:21, haraken wrote: > On 2014/09/24 10:36:32, sof wrote: > > On 2014/09/23 ...
6 years, 3 months ago (2014-09-24 11:51:58 UTC) #19
haraken
Sorry I was misunderstanding the code. LGTM! https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp#newcode251 Source/web/WebFrame.cpp:251: return true; ...
6 years, 3 months ago (2014-09-24 14:13:04 UTC) #20
sof
https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp#newcode251 Source/web/WebFrame.cpp:251: return true; On 2014/09/24 14:13:04, haraken wrote: > > ...
6 years, 3 months ago (2014-09-24 14:24:34 UTC) #21
haraken
https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp#newcode257 Source/web/WebFrame.cpp:257: #else On 2014/09/24 14:24:34, sof wrote: > On 2014/09/24 ...
6 years, 3 months ago (2014-09-24 14:28:51 UTC) #22
sof
On 2014/09/24 14:28:51, haraken wrote: > https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp > File Source/web/WebFrame.cpp (right): > > https://codereview.chromium.org/594483002/diff/20001/Source/web/WebFrame.cpp#newcode257 > ...
6 years, 3 months ago (2014-09-24 14:41:25 UTC) #23
dcheng
https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp File Source/web/OpenedFrameTracker.cpp (right): https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp#newcode52 Source/web/OpenedFrameTracker.cpp:52: WebFrame::traceFrame(visitor, *it); Doesn't this mean the opened frame tracker ...
6 years, 2 months ago (2014-09-25 08:04:54 UTC) #24
sof
https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp File Source/web/OpenedFrameTracker.cpp (right): https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp#newcode52 Source/web/OpenedFrameTracker.cpp:52: WebFrame::traceFrame(visitor, *it); On 2014/09/25 08:04:54, dcheng wrote: > Doesn't ...
6 years, 2 months ago (2014-09-25 08:11:47 UTC) #25
sof
On 2014/09/25 08:11:47, sof wrote: > https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp > File Source/web/OpenedFrameTracker.cpp (right): > > https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp#newcode52 > ...
6 years, 2 months ago (2014-09-25 08:25:09 UTC) #26
dcheng
On 2014/09/25 at 08:25:09, sigbjornf wrote: > On 2014/09/25 08:11:47, sof wrote: > > https://codereview.chromium.org/594483002/diff/40001/Source/web/OpenedFrameTracker.cpp ...
6 years, 2 months ago (2014-09-25 08:31:33 UTC) #27
sof
Needs {Source, public}/web/ review.
6 years, 2 months ago (2014-09-28 21:17:00 UTC) #28
dcheng
https://codereview.chromium.org/594483002/diff/40001/Source/web/WebRemoteFrameImpl.cpp File Source/web/WebRemoteFrameImpl.cpp (right): https://codereview.chromium.org/594483002/diff/40001/Source/web/WebRemoteFrameImpl.cpp#newcode139 Source/web/WebRemoteFrameImpl.cpp:139: visitor->registerWeakMembers<WebRemoteFrameImpl, &WebRemoteFrameImpl::clearWeakMembers>(this); Why do we need to forward this ...
6 years, 2 months ago (2014-09-29 04:11:45 UTC) #29
sof
https://codereview.chromium.org/594483002/diff/40001/Source/web/WebRemoteFrameImpl.cpp File Source/web/WebRemoteFrameImpl.cpp (right): https://codereview.chromium.org/594483002/diff/40001/Source/web/WebRemoteFrameImpl.cpp#newcode139 Source/web/WebRemoteFrameImpl.cpp:139: visitor->registerWeakMembers<WebRemoteFrameImpl, &WebRemoteFrameImpl::clearWeakMembers>(this); On 2014/09/29 04:11:45, dcheng wrote: > Why ...
6 years, 2 months ago (2014-09-29 06:41:25 UTC) #30
sof
tkent: ping.
6 years, 2 months ago (2014-09-30 05:01:51 UTC) #31
sof
On 2014/09/29 06:41:25, sof wrote: > https://codereview.chromium.org/594483002/diff/40001/Source/web/WebRemoteFrameImpl.cpp > File Source/web/WebRemoteFrameImpl.cpp (right): > > https://codereview.chromium.org/594483002/diff/40001/Source/web/WebRemoteFrameImpl.cpp#newcode139 > ...
6 years, 2 months ago (2014-10-02 08:40:29 UTC) #32
sof
ping?
6 years, 2 months ago (2014-10-03 05:08:53 UTC) #33
dcheng
On 2014/10/03 at 05:08:53, sigbjornf wrote: > ping? Sorry, I'll take a more detailed look ...
6 years, 2 months ago (2014-10-03 08:30:40 UTC) #34
sof
On 2014/10/03 08:30:40, dcheng wrote: > On 2014/10/03 at 05:08:53, sigbjornf wrote: > > ping? ...
6 years, 2 months ago (2014-10-03 09:04:19 UTC) #35
sof
On 2014/10/03 09:04:19, sof wrote: > On 2014/10/03 08:30:40, dcheng wrote: > > On 2014/10/03 ...
6 years, 2 months ago (2014-10-03 12:17:06 UTC) #36
sof
TBRing tkent for the web/ changes.
6 years, 2 months ago (2014-10-05 19:32:59 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/594483002/80001
6 years, 2 months ago (2014-10-05 19:33:56 UTC) #39
commit-bot: I haz the power
6 years, 2 months ago (2014-10-05 20:37:19 UTC) #40
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as 183241

Powered by Google App Engine
This is Rietveld 408576698