DescriptionMove 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 : #
Dependent Patchsets: Messages
Total messages: 23 (9 generated)
|