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

Issue 2014533002: Move FontResourceClient to Oilpan heap (Closed)

Created:
4 years, 7 months ago by yhirano
Modified:
4 years, 6 months ago
CC:
chromium-reviews, tyoshino+watch_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, gavinp+loader_chromium.org, darktears, blink-reviews, loading-reviews+fetch_chromium.org, Nate Chapin, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move FontResourceClient to Oilpan heap This change makes FontResourceClient a GarbageCollectedMixin subclass. Registering a prefinalizer in a class T is not possible when - T has multiple GarbageCollectedMixin base classes, and - T doesn't have USING_GARBAGE_COLLECTED_MIXIN statement. Hence this CL modifies ResourceOwner<R, C> definition so that it inherits GarbageCollectedMixin only when C is not derived from GarbageCollectedMixin. BUG=587663 Committed: https://crrev.com/edf0f13e96321b2551d06832d59704d554aac4ba Cr-Commit-Position: refs/heads/master@{#397045}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -18 lines) Patch
M third_party/WebKit/Source/core/css/RemoteFontFaceSource.h View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/css/RemoteFontFaceSource.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/FontResource.h View 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceOwner.h View 1 2 3 4 2 chunks +33 lines, -17 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 23 (9 generated)
yhirano
4 years, 7 months ago (2016-05-25 12:42:09 UTC) #6
haraken
Hmm, ResourceOwner is going to be very complicated... Alternately, would it be possible to make ...
4 years, 7 months ago (2016-05-25 17:53:53 UTC) #7
yhirano
On 2016/05/25 17:53:53, haraken wrote: > Hmm, ResourceOwner is going to be very complicated... > ...
4 years, 7 months ago (2016-05-26 02:33:38 UTC) #8
haraken
Hmm, I'm a bit confused. Why do you need the change in ResourceOwner.h in the ...
4 years, 7 months ago (2016-05-26 03:37:26 UTC) #9
yhirano
On 2016/05/26 03:37:26, haraken wrote: > Hmm, I'm a bit confused. > > Why do ...
4 years, 7 months ago (2016-05-26 03:43:27 UTC) #10
haraken
On 2016/05/26 03:43:27, yhirano wrote: > On 2016/05/26 03:37:26, haraken wrote: > > Hmm, I'm ...
4 years, 7 months ago (2016-05-26 03:55:55 UTC) #11
yhirano
hiroshige@ suggested a much smarter way (ResourceOwner in PS4). Thanks!
4 years, 7 months ago (2016-05-27 08:11:25 UTC) #12
hiroshige
https://codereview.chromium.org/2014533002/diff/60001/third_party/WebKit/Source/core/fetch/ResourceOwner.h File third_party/WebKit/Source/core/fetch/ResourceOwner.h (right): https://codereview.chromium.org/2014533002/diff/60001/third_party/WebKit/Source/core/fetch/ResourceOwner.h#newcode39 third_party/WebKit/Source/core/fetch/ResourceOwner.h:39: template <typename R, typename C, bool isClientGarbageCollectedMixin> |R| is ...
4 years, 7 months ago (2016-05-27 08:18:38 UTC) #13
haraken
Yeah, PS4 looks much simpler!
4 years, 7 months ago (2016-05-27 08:20:19 UTC) #14
yhirano
https://codereview.chromium.org/2014533002/diff/60001/third_party/WebKit/Source/core/fetch/ResourceOwner.h File third_party/WebKit/Source/core/fetch/ResourceOwner.h (right): https://codereview.chromium.org/2014533002/diff/60001/third_party/WebKit/Source/core/fetch/ResourceOwner.h#newcode39 third_party/WebKit/Source/core/fetch/ResourceOwner.h:39: template <typename R, typename C, bool isClientGarbageCollectedMixin> On 2016/05/27 ...
4 years, 6 months ago (2016-05-27 16:37:28 UTC) #15
hiroshige
lgtm.
4 years, 6 months ago (2016-05-31 11:51:27 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2014533002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2014533002/80001
4 years, 6 months ago (2016-06-01 01:15:52 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-01 03:51:57 UTC) #21
commit-bot: I haz the power
4 years, 6 months ago (2016-06-01 03:53:10 UTC) #23
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/edf0f13e96321b2551d06832d59704d554aac4ba
Cr-Commit-Position: refs/heads/master@{#397045}

Powered by Google App Engine
This is Rietveld 408576698