DescriptionRefCounted::derefBase() should do the decrement from 1 to 0
Currently derefBase() does not do the decrement from 1 to 0 because an object that has 0 refcount is going to die immediately (there is no need to do the decrement).
However, in the oilpan world, it's possible that an object that has 0 refcount is resurrected, because the object can still be retained through oilpan handles. Thus we need to manage the refcount correctly even when the refcount is going to be 0.
I'm making this change separately from oilpan changes, since this change might regress performance of something. derefBase() is performance-sensitive.
BUG=340522
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170256
Patch Set 1 #
Messages
Total messages: 8 (0 generated)
|