Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(7)

Issue 1116613003: Remove ResourceFetcher's access to a FrameFetchContext when detaching (Closed)

Created:
5 years ago by Nate Chapin
Modified:
5 years ago
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, rwlbuis, tyoshino+watch_chromium.org, webcomponents-bugzilla_chromium.org, Yoav Weiss
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Remove ResourceFetcher's access to a real FetchContext at frame detach time This allows us to remove a whole bunch of frame() null-checks in FrameFetchContext. BUG=458222 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194827

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -114 lines) Patch
M Source/core/dom/Document.cpp View 7 chunks +22 lines, -17 lines 0 comments Download
M Source/core/fetch/FetchContext.h View 1 chunk +3 lines, -4 lines 0 comments Download
M Source/core/fetch/FetchContext.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/fetch/ImageResourceTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcher.h View 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/fetch/ResourceFetcherTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/imports/HTMLImportLoader.cpp View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/imports/HTMLImportTreeRoot.cpp View 1 chunk +2 lines, -6 lines 1 comment Download
M Source/core/html/imports/LinkImport.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M Source/core/loader/DocumentLoader.cpp View 2 chunks +1 line, -1 line 0 comments Download
M Source/core/loader/FrameFetchContext.h View 1 chunk +8 lines, -3 lines 0 comments Download
M Source/core/loader/FrameFetchContext.cpp View 22 chunks +18 lines, -71 lines 0 comments Download
M Source/core/loader/FrameFetchContextTest.cpp View 4 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Nate Chapin
Nth attempt at this idea. This should be identical to a rebased https://codereview.chromium.org/1035803002, except for ...
5 years ago (2015-04-29 22:11:26 UTC) #2
Mike West
The bot failures look unrelated, so as long as the CQ is happy, LGTM to ...
5 years ago (2015-04-30 16:21:43 UTC) #3
sof
https://codereview.chromium.org/1116613003/diff/1/Source/core/html/imports/HTMLImportTreeRoot.cpp File Source/core/html/imports/HTMLImportTreeRoot.cpp (right): https://codereview.chromium.org/1116613003/diff/1/Source/core/html/imports/HTMLImportTreeRoot.cpp#newcode103 Source/core/html/imports/HTMLImportTreeRoot.cpp:103: HTMLImport::recalcTreeState(this); Could you explain why new recalculations cannot be ...
5 years ago (2015-04-30 18:18:37 UTC) #4
Nate Chapin
On 2015/04/30 18:18:37, sof wrote: > https://codereview.chromium.org/1116613003/diff/1/Source/core/html/imports/HTMLImportTreeRoot.cpp > File Source/core/html/imports/HTMLImportTreeRoot.cpp (right): > > https://codereview.chromium.org/1116613003/diff/1/Source/core/html/imports/HTMLImportTreeRoot.cpp#newcode103 > ...
5 years ago (2015-04-30 18:26:08 UTC) #5
sof
On 2015/04/30 18:26:08, Nate Chapin wrote: > On 2015/04/30 18:18:37, sof wrote: > > > ...
5 years ago (2015-04-30 19:40:32 UTC) #6
sof
+ dglazkov@, morrita@: re: https://codereview.chromium.org/1116613003/#msg6 -- do you know why that import recalculation loop is ...
5 years ago (2015-04-30 19:42:49 UTC) #8
sof
On 2015/04/30 19:42:49, sof wrote: > + dglazkov@, morrita@: re: https://codereview.chromium.org/1116613003/#msg6 -- > do you ...
5 years ago (2015-05-01 06:52:31 UTC) #9
sof
Going over the details more carefully, this is a safe & complete change to HTMLImportTreeRoot. ...
5 years ago (2015-05-01 10:15:59 UTC) #10
Nate Chapin
On 2015/05/01 10:15:59, sof wrote: > Going over the details more carefully, this is a ...
5 years ago (2015-05-01 18:27:37 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1116613003/1
5 years ago (2015-05-01 18:28:04 UTC) #13
commit-bot: I haz the power
5 years ago (2015-05-01 20:13:33 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194827

Powered by Google App Engine
This is Rietveld 408576698