Description was changed from ========== Add <link rel=preload> onload support for scripts and styles This ...
4 years, 11 months ago
(2016-01-16 06:19:53 UTC)
#1
Description was changed from
==========
Add <link rel=preload> onload support for scripts and styles
This CL adds onload support for <link rel=preload> for scripts and styles.
Support for other resource types will be added in a followup CL.
BUG=552289
==========
to
==========
Add <link rel=preload> onload support for scripts and styles
This CL relands https://codereview.chromium.org/1577073005/ which adds onload
support for <link rel=preload> for scripts and styles.
Support for other resource types will be added in a followup CL.
BUG=552289
==========
Compile issue(s) caused https://codereview.chromium.org/1577073005/ to break the oilpan build. This is the same patch, hopefully ...
4 years, 11 months ago
(2016-01-16 06:21:30 UTC)
#3
Compile issue(s) caused https://codereview.chromium.org/1577073005/ to break the
oilpan build. This is the same patch, hopefully fixing these issues.
Nate - can you take a look? :)
Yoav Weiss
On 2016/01/16 06:21:30, Yoav Weiss wrote: > Compile issue(s) caused https://codereview.chromium.org/1577073005/ to break the > ...
4 years, 11 months ago
(2016-01-16 20:57:39 UTC)
#4
On 2016/01/16 06:21:30, Yoav Weiss wrote:
> Compile issue(s) caused https://codereview.chromium.org/1577073005/ to break
the
> oilpan build. This is the same patch, hopefully fixing these issues.
>
> Nate - can you take a look? :)
On second thought, might be better to wait for
https://codereview.chromium.org/1569273004/ to land before this one, as this may
change things for oilpan.
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.cpp File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right): https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Source/core/loader/LinkLoader.cpp#newcode330 third_party/WebKit/Source/core/loader/LinkLoader.cpp:330: visitor->trace(m_linkPreloadResourceClient); On 2016/01/20 12:22:53, sof wrote: > move up ...
4 years, 11 months ago
(2016-01-20 13:14:02 UTC)
#7
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/loader/LinkLoader.cpp (right):
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/loader/LinkLoader.cpp:330:
visitor->trace(m_linkPreloadResourceClient);
On 2016/01/20 12:22:53, sof wrote:
> move up a line.
moved
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h (right):
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h:19: class
LinkPreloadResourceClient {
On 2016/01/20 12:22:53, sof wrote:
> Since this contains a heap reference, you need to trace it. The way we
normally
> do that for these client base classes is to turn them into GC mixins --
>
>
> class LinkPreloadResourceClient : public WillBeGarbageCollectedMixin {
> public:
> ...
> DEFINE_INLINE_VIRTUAL_TRACE()
> {
> visitor->trace(m_loader);
> }
> }
>
> (I think you may have to define that trace in the .cpp file though, as
> LinkLoader's definition is not in scope...)
>
> + have each class that derive from LinkPreloadResourceClient delegate to
> LinkPreloadResourceClient::trace(visitor) also.
Had to define it as NoBaseWillBeGarbageCollectedFinalized, as otherwise, I got
'static_assert failed "only garbage collected objects can have garbage collected
mixins"'
https://codereview.chromium.org/1586563014/diff/80001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/loader/LinkPreloadResourceClients.h:33:
LinkLoader* m_loader;
On 2016/01/20 12:22:53, sof wrote:
> RawPtrWillBeMember<LinkLoader>
done
(oilpan) lgtm, but japhet@ will hopefully also have a look.
4 years, 11 months ago
(2016-01-20 13:40:03 UTC)
#11
(oilpan) lgtm, but japhet@ will hopefully also have a look.
Yoav Weiss
On 2016/01/20 13:40:03, sof wrote: > (oilpan) lgtm, but japhet@ will hopefully also have a ...
4 years, 11 months ago
(2016-01-20 13:44:44 UTC)
#12
On 2016/01/20 13:40:03, sof wrote:
> (oilpan) lgtm, but japhet@ will hopefully also have a look.
japhet@ - what say you? This is the same change as
https://codereview.chromium.org/1577073005/ only without breaking oilpan
Nate Chapin
lgtm
4 years, 11 months ago
(2016-01-20 18:51:22 UTC)
#13
lgtm
Yoav Weiss
The CQ bit was checked by yoav@yoav.ws
4 years, 11 months ago
(2016-01-20 18:51:57 UTC)
#14
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586563014/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586563014/160001
4 years, 11 months ago
(2016-01-20 18:53:25 UTC)
#15
Description was changed from ========== Add <link rel=preload> onload support for scripts and styles This ...
4 years, 11 months ago
(2016-01-20 19:58:09 UTC)
#16
Message was sent while issue was closed.
Description was changed from
==========
Add <link rel=preload> onload support for scripts and styles
This CL relands https://codereview.chromium.org/1577073005/ which adds onload
support for <link rel=preload> for scripts and styles.
Support for other resource types will be added in a followup CL.
BUG=552289
==========
to
==========
Add <link rel=preload> onload support for scripts and styles
This CL relands https://codereview.chromium.org/1577073005/ which adds onload
support for <link rel=preload> for scripts and styles.
Support for other resource types will be added in a followup CL.
BUG=552289
==========
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 11 months ago
(2016-01-20 19:58:10 UTC)
#17
Message was sent while issue was closed.
Committed patchset #9 (id:160001)
commit-bot: I haz the power
Description was changed from ========== Add <link rel=preload> onload support for scripts and styles This ...
4 years, 11 months ago
(2016-01-20 19:59:56 UTC)
#18
Message was sent while issue was closed.
Description was changed from
==========
Add <link rel=preload> onload support for scripts and styles
This CL relands https://codereview.chromium.org/1577073005/ which adds onload
support for <link rel=preload> for scripts and styles.
Support for other resource types will be added in a followup CL.
BUG=552289
==========
to
==========
Add <link rel=preload> onload support for scripts and styles
This CL relands https://codereview.chromium.org/1577073005/ which adds onload
support for <link rel=preload> for scripts and styles.
Support for other resource types will be added in a followup CL.
BUG=552289
Committed: https://crrev.com/dcbdcdb41ad3b1dbb0426b3092592b2c451ad098
Cr-Commit-Position: refs/heads/master@{#370456}
==========
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/dcbdcdb41ad3b1dbb0426b3092592b2c451ad098 Cr-Commit-Position: refs/heads/master@{#370456}
4 years, 11 months ago
(2016-01-20 19:59:57 UTC)
#19
Issue 1586563014: Add <link rel=preload> onload support for scripts and styles
(Closed)
Created 4 years, 11 months ago by Yoav Weiss
Modified 4 years, 11 months ago
Reviewers: Nate Chapin, sof
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 17